include[HTML_REMOVED]
using namespace std;
int lcm(int a, int b)
{
int s = 1;
for(int i = 1000000;i >= a; i–)
if(i % a == 0 && i % b == 0)
s = i;
return s;
}
int main()
{
int a,b;
cin >> a >> b;
int s = lcm(a,b);
cout << s;
return 0;
}