Avishake Maji's submission of P-G | CodeChef