Bob and cities

Problem Name:
Bob and cities
Site:HackerEarth
Links:
Tags:
Problem setters: