Find the greatest common divisor of two numbers