Stepan's Alarm Clocks#7294

Stepan's Alarm Clocks

0.1 seconds
64 megabytes
Very easy

Stepan lives in a dormitory and, as a "good" student, he often oversleeps his classes. To help him wake up on time, his parents have given him two alarm clocks. Stepan sets both alarms for the same time because one alarm alone isn't enough to wake him. Anticipating that he might still oversleep, the first alarm clock rings every minutes, and the second one rings every minutes. Write a program to determine after how many minutes both alarm clocks will ring simultaneously for the second time.

Input

The input consists of a single line containing two integers and (1 \le n, m \le 2 \cdot 10^9).

Output

Output a single integer representing the number of minutes after which both alarm clocks will ring simultaneously for the second time.

Examples

Example 1

Loading
Loading