def LCM(x, y):
    z = x * y
    while x!= 0 and y != 0:
        if x > y:
            x %= y
        else:
            y %= x
    return z//(x + y)


a = int(input(" Insert value of a: "))
b = int(input(" Insert value of B: "))

print("The LCM =", LCM(a, b))