Sponsored
Use these hints if you're stuck. Try solving on your own first.
Simulate the given in the statement
Calculate those who will eat instead of those who will not.
Solve with full IDE support and test cases