#import int x,y,s,c,m;main(){std::cin>>y>>s>>x;c=y>1;m=y==2;s-=x;for(;std::cin>>y;){s==x-y?c++:c=1;s=x-y;x=y;m