Ajmal Nayeem's submission of Maximum Remaining | CodeChef