6. There are 2022 numbers arranged in a row, among which any three consecutive numbers, the middle number equals the sum of the two numbers before and after it. It is known that the first number is 2, and the second number is -2, then the 2022nd number is $\qquad$ .
$4$