from fractions import gcd



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



print((A * B // gcd(A, B)))
from fractions import gcd



def lcm(x, y):

    return x * y // gcd(x, y)



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

print((lcm(A, B)))



from fractions import gcd

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

from fractions import gcd


def lcm(x, y):
    return x * y // gcd(x, y)


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

+ +def lcm(x, y): +    return x * y // gcd(x, y) + + -print((A * B // gcd(A, B))) +print((lcm(A, B)))