Shivam Gupta's submission of Perfect Partitions | CodeChef