Write a program that computes the greatest common divisor of two numbers.
Input consists of two strictly positive natural numbers and .
Print the greatest common divisor of and .
Although the solution to this exercise does not need to be very efficient, it should not be too slow.
Author: Unknown
Translator: Carlos Molina
Generation: 2026-09-01T07:33:11.190Z
© Jutge.org, 2006–2026.
https://jutge.org