Avishake Maji's submission of GA | CodeChef