OpenJudge - 09:Least Common Multiple
09:Least Common Multiple
总时间限制:
1000ms
内存限制:
65536kB
描述
Given A and B. Find the least positive M which is a common multiple of both A and B.
给定A和B。找到A和B的最小公倍数M。
输入
Two positive integers A and B (A,B <= 10000).
两个不超过10000的正整数A和B。
输出
One integer M.
一个整数M。
样例输入
8 12
样例输出
24