Run ID:132245
提交时间:2025-10-07 14:15:29
m,n=input().split() m,n=int(m),int(n) x=min(m,n) while x>1: if m%x==0 and n%x==0: break x=x-1 print(x)