Run ID:86698
提交时间:2024-07-27 11:04:17
a,b=map(int,input().split()) s=[] for x in range(1,a+1): if a%x==0 and b%x==0: s.append(x) print(s[-1])