Ruminations on Ruminants

Problem Name:
Ruminations on Ruminants
Site:CodeForces
Links:
Tags:
Problem setters: