from fractions import gcd

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

print((a*b//gcd(a,b)))
from fractions import*;a,b=list(map(int,input().split()));print((a*b//gcd(a,b)))
from fractions import gcd

a, b = list(map(int, input().split()))
print((a * b // gcd(a, b)))

from fractions import *

a, b = list(map(int, input().split()))
print((a * b // gcd(a, b)))

-from fractions import gcd +from fractions import *