Yet Another Coin Problem

Problem Name:
Yet Another Coin Problem
Site:CodeForces
Links:
Tags:
Problem setters: