Shreyas Jain's submission of Factorisation | CodeChef