The final element

Problem Name:
The final element
Site:HackerEarth
Links:
Tags: