A part of monthly hostel charges in a college are fixed and the remaining depend on the number of days one has taken food in the mess. When a student a takes food for 20 days, he has to pay Rs 1000 as hostel charges whereas a student B, who takes food for 26 days, pays Rs 1180 as hostel charges. Find the fixed charge and the cost of food per day.