Dinesh Goyal's submission of Nice Subsets | CodeChef