7. Given a polynomial $P(x)$, not identically zero. It is known that for all $x$ the identity $(x-2020) \cdot P(x+1)=(x+2021) \cdot P(x)$ holds. How many roots does the equation $P(x)=0$ have? Answer: 4042