Dictators plan for Valentines day!

Problem Name:
Dictators plan for Valentines day!
Site:CodeForces
Links:
Tags:
Problem setters: