Anna and the Valentines Day Gift

Problem Name:
Anna and the Valentines Day Gift
Site:CodeForces
Links:
Tags:
Problem setters: