HackerEarth Cities and coordinates problem solution - TheCScience