#include<stdio.h>
int main()
{
int a,b,i,t;
while(scanf("%d%d",&a,&b)!=EOF)
{
i=a*b;
while(b>0)
{
t=a%b;
a=b;
b=t;
}
printf("%d\n",i/a);
}
return 0;
}
01-27
#include<stdio.h>
int main()
{
int a,b,i,t;
while(scanf("%d%d",&a,&b)!=EOF)
{
i=a*b;
while(b>0)
{
t=a%b;
a=b;
b=t;
}
printf("%d\n",i/a);
}
return 0;
}