Number in a special set

Problem Name:
Number in a special set
Site:HackerEarth
Links:
Tags: