1485: 分数减法(b)
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:102
Solved:37
Description

Input
第一行2个整数a和b,表示一个分数 a/b ,1<=a
Output
2个整数,表示结果。
提示:运算结果分式要约分。
Sample Input Copy
4 7
1 3
Sample Output Copy
5 21