import math A, B = map(int, input().split()) print(math.lcm(A, B))