The cost of a hostel is partly constant and partly proportional to the number of people staying in that hostel. If the number of people is 120 the cost is Rs 2000 and if the number of people is 100 the cost is Rs 1700. If the cost is 1880 rupees, find the number of people.