#include <iostream>
using namespace std;
int main() {
int a,b;
cin>>a>>b;
int temp;
if(a>b){
temp=a;
a=b;
b=temp;
}
int mul=a*b;
while(a!=0){
int t=b%a;
b=a;
a=t;
}
cout<<mul/b;
}
// 64 位输出请用 printf("%lld")

京公网安备 11010502036488号