Shreyas Jain's submission of Fombinatorial | CodeChef