//#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define ALL(s) (s).begin(),(s).end() using namespace std; using ll=long long; using dl=double long; using str=string; using graph = vector>; templateusing Mqu=priority_queue; templateusing mqu=priority_queue,greater>; ll M=1000000007LL; str alpha="abcdefghijklmnopqrstuvwxyz"; str ALPHA="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; ll bikkuri(ll a){return a?a*bikkuri(a-1):1;} ll sankakusu(ll a){return a?(a+sankakusu(a-1)):0;} ll gcd(ll a,ll b){return b?gcd(b,a%b):a;} ll lcm(ll a,ll b){return (a/gcd(a,b))*b;} ll power(ll a,ll b){return b?power(a,b-1)*a:1;} ll ketawa(ll a){return a<10?a:a%10+ketawa(a/10);} // <>n; vector s(n); cin>>s[0]; for(ll i=1;i>s[i]; if(s[i-1]+1==s[i]) x++,ans=max(ans,x); else x=0; } cout<