Write a program which finds the greatest common divisor of two natural numbers a and b
a and b are given in a line sparated by a single space.
Output the greatest common divisor of a and b.
1 ≤ a, b ≤ 109
You can use the following observation:
For integers x and y, if x ≥ y, then gcd(x, y) = gcd(y, x%y)
54 20
2
147 105
21