Jatin Garg's submission of Gcd Queries | CodeChef