Shubham Singhal's submission of AP-GP | CodeChef