MEX and Ranges | CodeChef