Let's have more descriptive variable names: `countries`, `committee_preferences`, `school`, `remaining_spots`. But, as mentioned above, you don't even need to include `committee_preferences`; You can get that from the school parameter.