Param and his Valentine

Problem Name:
Param and his Valentine
Site:HackerEarth
Links:
Tags:
Problem setters: