from fractions import gcd

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

print(((a * b) // gcd(a, b)))
from math import gcd

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

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

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

from math import gcd

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

-from fractions import gcd +from math import gcd -print(((a * b) // gcd(a, b))) +print((int(a * b / gcd(a, b))))