import std.stdio, std.string, std.algorithm, std.array, std.range, std.conv,
    std.typecons, std.math, std.container, std.format, std.numeric;

void main(string[] args)
{
    long a, b;
    readf("%d %d", &a, &b);
    writeln(a * b / gcd(a, b));

}