300995: CF188C. LCM

Memory Limit:256 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

C. LCMtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output

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.

Input

The input contains two integers a and b (1 ≤ a, b ≤ 103), separated by a single space.

Output

Output LCM(a, b).

ExamplesInput
10 42
Output
210
Input
123 41
Output
123

Input

加入题单

上一题 下一题 算法标签: