Erfan Alimohammadi's submission of Magic Pairs | CodeChef