A New Order

Problem Name:
A New Order
Site:HackerEarth
Links:
Tags:
Problem setters: