[HTML_REMOVED]
[HTML_REMOVED]
[HTML_REMOVED]
[HTML_REMOVED]
[HTML_REMOVED]
[HTML_REMOVED]
[HTML_REMOVED]
include[HTML_REMOVED]
using namespace std
const int N=100010;
int a[N];
int S[N];
int main(){
cin>>n;
for (int i=0,i[HTML_REMOVED]>a[i];
int res=0;
for (int i=0,j=0;i[HTML_REMOVED]1)
{
s[a[j]–;
j++;
}
res=max(res,i-j+1);
}
cout<<res<<endl;
return 0;
}