众所周知
#include <iostream> #include <algorithm> using namespace std; int a, b; int main(void) { scanf("%d %d", &a, &b); return printf("%d\n", a * b / __gcd(a, b)), 0; }