Anuj Mittal's submission of Closest Ranking | CodeChef