xyz111's submission of Magic Pairs | CodeChef