Tanmay Datta's submission of Factorisation | CodeChef