Yet again as always while trying to solve the problem statement, logically I can easily do that but again I got lost on how to do the input processing. No idea let's look at it.
For example, suppose the Elves finish writing their items' Calories and ...