e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

DSA Week 1

LCM of two integers

Find the LCM (least common multiple) of two integers.

Input

Two positive integers a and b (a, b < 2 * 109).

Output

Print the LCM of a and b.

Time limit 1 second
Memory limit 128 MiB
Input example #1
42 24
Output example #1
168