#include <iostream>using namespace std;int main(){ int num_1,num_2; int num_times; int times = 1; cin>>num_1>>num_2; while(1) { num_times=num_1*times; if(num_times%num_1==0 && num_times%num_2==0) break; times++; } cout<<num_times<<endl;}