GCD

Write a program that, given two different positive integers, prints their GCD.

Input

Input consists of a two positive integers. Including the zero.

Output

The GCD.

Information about the checker

You can print the solutions to this exercise in any order.

Problem information

Author: Unknown

Generation: 2026-01-25T23:03:34.307Z

© Jutge.org, 2006–2026.
https://jutge.org