Let $a_1$,$a_2$,$a_3$,.......,$a_n$ be $n$ such that each $a_i$ either $1$ or $-1$.If
$a_1 a_2 a_3 a_4+a_2 a_3 a_4 a_5+......+a_n a_1 a_2 a_3=0$,
then prove that $4$ divides $n$.
I tried this for small n and also observed different specific cases such as $a_1=1$ $a_2=-1$ $a_3=1$ $a_4=-1$.... etc.
But I am unable to circumvent anyway. Any kind of hints and full answers will be appreciated. Thank you all in advance.