Rajan's submission of Gcd Queries | CodeChef