[K4] Kattis: GCD (1 pt) [00JY]

Solve GCD. You may not use any built-in GCD function; you must implement the Euclidean Algorithm yourself.

Tips on solving Kattis problems