Input two polynomials of any degree and find the sum or product of them