Some students planned a picnic. The budget for the food was Rs. 480. As eight of them failed to join the party the cost of the food for each member increased by Rs 10. How many students participated in the picnic?