In a hostel, there is food provision enough for 60 days for certain number of students. If after 12 days, 80 more students joins so the remaining food quantity can last only for next 36 days. How many students were there initially in a hostel ?
Let initially there are 'x' students and each student require 1 unit of food daily, then total food quantity available=60x units
Food consumed by 'x' students in 12 days=12x units and remaining quantity=60x-12x=48x units
Now total number of students=x+80
So, 48x / (x+80) = 36
=> x=240