An interesting game

Problem Name:
An interesting game
Site:HackerEarth
Links:
Tags:
Problem setters: