import fractions

def lcm(x, y):

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



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

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



def lcm(x, y):

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

  

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



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


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


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

import math


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


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

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