Two papers I

Problem Name:
Two papers I
Site:HackerEarth
Links:
Tags:
Problem setters: