Bội Chung Nhỏ Nhất

PDF

Submit solution

Points: 10.00 (partial)
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Authors:
Problem types
Allowed languages
C, C++, Java, Pascal, Python, Scratch, TEXT

Yêu cầu

Nhập vào số nguyên ~a~, ~b~, tìm BCNN (bội chung nhỏ nhất) của ~a~ và ~b~.

Dữ liệu

Một dòng duy nhất, gồm số nguyên ~a~ và ~b~ ~(0< a,b\le 10^7)~.

Kết quả

Ghi ra BCNN tìm được.

Input

10 4

Output

20

Comments

Please read the guidelines before commenting.


There are no comments at the moment.