1225. Play a game

单点时限: 2.0 sec

内存限制: 256 MB

One night,sunny and solofandy go to bedchamber,they are so funny,they wanted to jump to bedchamber.But there meet a problem,everytime the length of the two boys jumping is different,so I want you to calculate the shortest length they will meet again.

输入格式

There are several cases,each case there are two numbers a and b,stand for the length of the two boys jumping.

输出格式

For each case,output a line contain a number of the shortest length they will meet again.

样例

Input
2 3
4 6
5 11
Output
6
12
55

351 人解决,395 人已尝试。

413 份提交通过,共有 829 份提交。

1.5 EMB 奖励。

创建: 16 年,11 月前.

修改: 6 年,8 月前.

最后提交: 2 月,1 周前.

来源: LSP

题目标签