When Deathmoon played MC game, he faced a math problem. When he found a ancient tomb and came in, he found two polynomials f(x) and g(x) no the wall, only did he calculate f(x) + g(x) correctly he could come in, can you help him?
For example:
f(x) = 2*x^5 + 3*x^3 + 7 + x^(-1),
g(x) = 3*x^4 + 2*x^3 + x - x^(-1).
Then,
f(x) + g(x) = 2*x^5 + 3*x^4 + 5*x^3 + x + 7
You should output (f(x) + g(x))' s expression for coefficients and powers in descending.
f(x) = coefficients * x ^ power;
The sample input:
f(x) = 2*x^5 + 3*x^3 + 7 + x^(-1),
g(x) = 3*x^4 + 2*x^3 + x - x^(-1).
The sample output:
f(x) + g(x) = 2*x^5 + 3*x^4 + 5*x^3 + x + 7