Ivan's submission of Nice Subsets | CodeChef