A number theory problem by mithun roy
A parson has 3 bags full of fruits and each bag can only be filled with 30 fruits each.He has to pass through 30 gates to go to selling point . At each gate he has to give one fruit each per bag. If he sells the remaining fruits 30 rupees each at selling point. How much money does he make at the end of the day?