manas agrawal's submission of Magic Rankings | CodeChef