Ilya Malinovsky's submission of Magic Rankings | CodeChef