Canine poetry

Problem Name:
Canine poetry
Site:CodeForces
Links:
Tags:
Problem setters: