Chandu and his game

Problem Name:
Chandu and his game
Site:HackerEarth
Links:
Tags:
Problem setters: