There are 100 people in a room. Each one them can eat 4 pies in total. The maximum amount of pies that can be eaten is 400 pies. If 172 pies were eaten, what is the average pie eaten by per person?
I have trouble coming up with the correct algorithm to solve this problem.