HackerEarth A color box problem solution - TheCScience