ankit sagwekar's submission of AP-GP | CodeChef