Devesh Agarwal's submission of Positive Mex | CodeChef