Alif Al Hasan's submission of GA | CodeChef