Can you count?

Problem Name:
Can you count?
Site:HackerEarth
Links:
Tags:
Problem setters: