using namespace std; int lcm(int a, int b) { int num=__gcd(a,b); return a*b/num; } int main() { int a,b; cin>>a>>b; cout<<lcm(a,b)<<endl; return 0; }