游客 Signup | Login
中文 | En

2597 - C二级辅导-公约公倍

通过次数

0

提交次数

0

Time Limit : 1 秒 Memory Limit : 128 MB

输入两个正整数m和n,求其最大公约数和最小公倍数。

Input

Output

Examples

Input Format

2 3

Output Format

1
6