Module: GCD (Greatest Common Divisor)


Problem

4/10

NOC (C++)

Problem

Find the least common multiple (LCM) of two natural numbers.
 
Input
The input is two natural numbers not exceeding 109 and separated by one space.
 
Output
Print the LCM of two numbers.

Paste the missing piece of code into the program.

Examples
# Input Output
1 16 20  80