Ants on a circle

Problem Name:
Ants on a circle
Site:HackerEarth
Links:
Tags:
Problem setters: