Let PP be a non-constant polynomial with integer coefficients. If n(P)n(P) is the number of distinct integers kk such that (P(k))2=1(P(k))^2 = 1, prove that n(P)deg(P)2n(P) - \deg(P) \leq 2, where deg(P)\deg(P) denotes the degree of the polynomial PP.