ll@N,@A[N],x=1;rep(i,N)rep(j,i+1,N){if(A[j]-A[j-1]-A[i+1]+A[i])break;else x>?=j-i+1;}wt(x);