Shivam Mahendru's submission of Max Mex | CodeChef