from fractions import gcd

A, B = list(map(int,input().split()))

print((int((A * B)/gcd(A,B))))
from math import gcd



A, B = list(map(int,input().split()))



print((A * B // gcd(A, B)))
from fractions import gcd

A, B = list(map(int, input().split()))
print((int((A * B) / gcd(A, B))))

from math import gcd

A, B = list(map(int, input().split()))
print((A * B // gcd(A, B)))

-from fractions import gcd +from math import gcd -print((int((A * B) / gcd(A, B)))) +print((A * B // gcd(A, B)))