Shreyas Jain's submission of Zombinatorial | CodeChef