learner's submission of Maximum Remaining | CodeChef