The greatest common divisor of two numbers
yis the largest number that both
yare divisible by that number.
Implement a function
gcd(x, y)that would return the greatest common divisor of
The input contains two numbers
The program should print the result of
gcd(a + 1, b),
gcd(a, b + 1)on separate lines.
2 3 1