Saurabh Dalakoti's submission of Magic Pairs | CodeChef