Run ID:132242

提交时间:2025-10-07 14:11:37

m,n=input().split() m,n=int(m),int(n) x=m while x>1: if m%x==0 and n%x==0: break x=x-1 print(x)