Frosting on the Cake

Problem Name:
Frosting on the Cake
Site:CodeForces
Links:
Tags:
Problem setters: