Surprise Language Round 6 |
---|
Finished |
Least common multiple (LCM) of two numbers is the smallest positive integer which is divisible by both of them. You are given integers a and b. Calculate their LCM.
The input contains two integers a and b (1 ≤ a, b ≤ 103), separated by a single space.
Output LCM(a, b).
10 42
210
123 41
123
Name |
---|