Run ID:72093
提交时间:2024-04-30 20:55:13
def gcd(m, n): while n != 0: m, n = n, m % n return m m, n = map(int, input().split()) result = gcd(m, n) print(result)