Devansh Bajpai's submission of Max Mex | CodeChef