Erfan Alimohammadi's submission of Magic Rankings | CodeChef