Goat in the Field

Problem Name:
Goat in the Field
Site:CodeForces
Links:
Tags:
Problem setters: