Beautiful element

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