Time Limit: 1 sec
In a hostel there is food for X students for M days. If Y new students arrive, how long will the food last ?
if X = 40, M = 20 and Y = 10 then
food will last 16 days
The input file contains only 3 integer numbers X ,M and Y (X<=1000, M<365 and Y<=1000).
Output will show the one integer number which is the days food will last in a separate line.
40 20 10
Problem Setter: Shahin ShamS