Descending Weights

Problem Name:
Descending Weights
Site:HackerEarth
Links:
Tags:
Problem setters: