SDE Path

LCM of Two Numbers

Easy

LCM of Two Numbers

Find the least common multiple of two numbers.

Input format

One line with two integers A and B (both between 1 and 1000000).

Output format

Print the least common multiple of A and B.

Constraints

  • Values fit in a 64-bit signed integer
  • Trailing whitespace and a trailing newline are ignored by the judge

Read from stdin, write to stdout. Sample cases below show the exact format.

Sample cases

Example 1
Input
4 6
Expected output
12
Example 2
Input
3 7
Expected output
21