Monk and Rotation

Problem Name:
Monk and Rotation
Site:HackerEarth
Links:
Tags:
Problem setters: