Rosetta Problems

Largest common divisor

https://marisaoj.com/problem/107