Run ID:132348

提交时间:2025-10-08 09:20:16

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