More complicated fractional numbers were represented as a sum of simple fractions. Unfortunately for them, there was no computing device that would help them do mathematical calculations. Your assignment for this problem is to do just that. You may assume that in the rational fractions provided, the numerator will be less than the denominator, each of those values will be less than 25, and the number of simple components in your output will be no more than 10. Input will be 2 integers on a single line, separated by blanks, with the numerator preceding the denominator.
Any valid output is correct.
You've decided to write a program to help you with this task.