import fractions

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

def lcm(x, y):

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



print((lcm(a, b)))
import math

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

def lcm(x, y):

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

 

print((lcm(a, b)))
import fractions

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


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


print((lcm(a, b)))

import math

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


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


print((lcm(a, b)))

-import fractions +import math -    return (x * y) // fractions.gcd(x, y) +    return (x * y) // math.gcd(x, y)