#import int x,d,p,s,a,j;main(){std::cin>>x>>x;for(d=x<0?x=-x:-30;std::cin>>a;)for(a+=d,j=30;j--;)ap?s++,p=a:0;std::cout<