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

gcd = 0

for i in range(max(a, b), 0, -1):

    if a % i == 0 and b % i == 0:

        gcd = i

        break

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



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

print(((a*b)//math.gcd(a, b)))
a, b = list(map(int, input().split()))
gcd = 0
for i in range(max(a, b), 0, -1):
    if a % i == 0 and b % i == 0:
        gcd = i
        break
print((a * b // gcd))

import math

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

+import math + -gcd = 0 -for i in range(max(a, b), 0, -1): -    if a % i == 0 and b % i == 0: -        gcd = i -        break -print((a * b // gcd)) +print(((a * b) // math.gcd(a, b)))