Pairwise union of sets | CodeChef