Sayed Atif Ali's submission of Factorisation | CodeChef