Kunal Singhal's submission of Factorisation | CodeChef