import fractions

a,b = list(map(int, input().split()))

k = fractions.gcd(a,b)

print((a * b // k))
from fractions import gcd

a,b = list(map(int, input().split()))



print((a*b//gcd(a,b)))
import fractions

a, b = list(map(int, input().split()))
k = fractions.gcd(a, b)
print((a * b // k))

from fractions import gcd

a, b = list(map(int, input().split()))
print((a * b // gcd(a, b)))

-import fractions +from fractions import gcd -k = fractions.gcd(a, b) -print((a * b // k)) +print((a * b // gcd(a, b)))