Polycarp and Hay

Problem Name:
Polycarp and Hay
Site:CodeForces
Links:
Tags:
Problem setters: