Game with the Stones

Problem Name:
Game with the Stones
Site:CodeForces
Links:
Tags:
Problem setters: