Beautiful numbers

Problem Name:
Beautiful numbers
Site:HackerEarth
Links:
Tags: