anand kumar's submission of Magic Pairs | CodeChef