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-01-25T11:33:17.203Z
© Jutge.org, 2006–2026.
https://jutge.org