aman agarwal's submission of Max Mex | CodeChef