Each polynomial will have at least one term, each term will have
an integer coefficient, with no restriction on magnitude. The powers
will be non-negative, but also without restriction on magnitude. While
the powers may repeat or be in any order in the input file, the powers
must appear in strictly decreasing order in the output file. For example,
the polynomial sum (x+3) + (-2x^2-5), followed by the product (2x+3)*0
would be represented in the input file by:
+ 2 1 1 3 0 2 -2 2 -5 0 * 2 2 1 3 0 1 0 0
3 -2 2 1 1 -2 0 1 0 0
1 0 0