Multiple occurrences

Problem Name:
Multiple occurrences
Site:HackerEarth
Links:
Tags:
Problem setters: