Prateek's submission of Factorisation | CodeChef