##最小公倍数
http://acm.hdu.edu.cn/showproblem.php?pid=1108
#include<stdio.h>
int gcd(int x,int y){
if(y==0) return x;
return gcd(y,x%y);
}
int main(){
int x,y;
while(scanf("%d %d",&x,&y)!=EOF){
printf("%d\n",x*y/gcd(x,y));
}
return 0;
}