题解 | #求最小公倍数#
求最小公倍数
http://www.nowcoder.com/practice/22948c2cad484e0291350abad86136c3
while True:
try:
A,B = map(int,input().split())
val = 1
for i in range(2,min(A,B)+1):
while A%i == 0 and B%i ==0:
val = val*i
A = A//i
B = B//i
print(val*A*B)
except:
break