Prateek's submission of Magic Rankings | CodeChef