Hasan's submission of Magic Rankings | CodeChef