Avishake Maji's submission of P-F | CodeChef