Mayank Gupta's submission of Magic Pairs | CodeChef