from fractions import gcd

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

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

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

ans = (A * B) // math.gcd(A, B)

print(ans)
from fractions import gcd

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

import math

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

-from fractions import gcd +import math -print(((A * B) // gcd(A, B))) +ans = (A * B) // math.gcd(A, B) +print(ans)