Sergey Kulik's submission of Magic Rankings | CodeChef