in a hostel there were 100 students . to accommodate 40 more students the average is decreased by rupees 10 . but total expenditure decreased by rs . 400 . find the total expenditure of the hostel now ?