rachit nimavat's submission of Magic Rankings | CodeChef