A Coin Game

Problem Name:
A Coin Game
Site:HackerEarth
Links:
Tags:
Problem setters: