Maximum subtraction

Problem Name:
Maximum subtraction
Site:HackerEarth
Links:
Tags:
Problem setters: