#527. C二级辅导-公约公倍

C二级辅导-公约公倍

C二级辅导-公约公倍

题目描述

p { margin-bottom: 0.21cm; }

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

样例

输入

2 3

输出

1
6