Pastoral Oddities

Problem Name:
Pastoral Oddities
Site:CodeForces
Links:
Tags:
Problem setters: