HackerEarth Eat Or Not? problem solution - TheCScience