Abhinav Jain's submission of Magic Pairs | CodeChef