Problem H: C二级辅导-公约公倍

Problem H: C二级辅导-公约公倍

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 1189  Solved: 684
[Submit] [Status] [Web Board] [Creator:]

Description

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

Sample Input Copy

2 3

Sample Output Copy

1
6