Problem A: C语言公约公倍

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:6076 Solved:4768

Description


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

Sample Input Copy

2 3

Sample Output Copy

1
6