In a hospital there were 2481 patients, 946 patients were allowed to go home. How many patients remained?