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

C二级辅导-公约公倍

<style type="text/css">p { margin-bottom: 0.21cm; }</style>

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

Input

Output

Sample Input

2 3

Sample Output

1
6

HINT

Source