Another maximum problem

Problem Name:
Another maximum problem
Site:HackerEarth
Links:
Tags:
Problem setters: