Impressive Harvesting of The Orchard

Problem Name:
Impressive Harvesting of The Orchard
Site:CodeForces
Links:
Tags:
Problem setters: