import fractions

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

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

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

def lcm(A,B):

    return (A*B) // fractions.gcd(A,B)

print((lcm(A,B)))

import fractions

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

import fractions

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


def lcm(A, B):
    return (A * B) // fractions.gcd(A, B)


print((lcm(A, B)))

-print((A * B // fractions.gcd(A, B))) + + +def lcm(A, B): +    return (A * B) // fractions.gcd(A, B) + + +print((lcm(A, B)))