Zach Polansky's submission of Pairwise union of sets | CodeChef