from fractions import gcd



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



lcm = (A * B) // gcd(A, B)



print (lcm)
import sys

input = sys.stdin.readline

sys.setrecursionlimit(10 ** 9)

MOD = 10 ** 9 + 7



from fractions 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()))
lcm = (A * B) // gcd(A, B)
print(lcm)

import sys

input = sys.stdin.readline
sys.setrecursionlimit(10**9)
MOD = 10**9 + 7
from fractions import gcd

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

+import sys + +input = sys.stdin.readline +sys.setrecursionlimit(10**9) +MOD = 10**9 + 7 -lcm = (A * B) // gcd(A, B) -print(lcm) +print((A * B // gcd(A, B)))