def sub (p1, p2):
	""" Subtracts the two Polynomials, 'p1' and 'p2'
	The arguments can be a sequence of coefficients or an instance of the Polynomial class. """
	res = [x[0] - x[1] for x in zip(p1, p2)]
	n = len(res)
	T = max(p1, p2, key=len)[n:]
	res.extend((-t for t in T) if len(p2) > len(p1) else T)
	return res