Ashish Khatkar's submission of Gcd Queries | CodeChef