UVa 392 - Polynomial Showdown

Just read all rules carefully. Output correctly coefficients and exponents in all special cases. (i.e coefficient=-1,exponent=1) Also take care about negative an positive signs.