Sheep in the Garden

Problem Name:
Sheep in the Garden
Site:CodeForces
Links:
Tags:
Problem setters: