Fazal's submission of Factorisation | CodeChef