Past contest problem
How to solve this problem ?https://www.hackerrank.com/contests/dj-codemania/challenges/poor-dishes