import math

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

print(((a*b)//math.gcd(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 math

a, b = list(map(int, input().split()))
print(((a * b) // math.gcd(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)))

-print(((a * b) // math.gcd(a, b))) + + +def lcm(x, y): +    return (x * y) // math.gcd(x, y) + + +print((lcm(a, b)))