HackerEarth Painting The logo problem solution - TheCScience