Xtreme Maya Diet

It works for the given sample inputs and uses dynamic programming, which I started to find much easier for these kind of problems. The code is up to no standard and I didn’t expect it to be, but its readable and has proper indentation(which is all I care). So here’s the code.