import sys a,b=map(int,input().split()) c=max(a,b) d=min(a,b) for i in range(c,a*b+1,c): if i%d==0: print(i) break
相关推荐