/* LQ0212 蚂蚁感冒 */#include#includeintmain(){int n, a0, a;int l =0, r =0;scanf("%d%d",&n,&a0);for(int i =2; i <= n; i++){scanf("%d",&a);if(a >0&&abs(a)<abs(a0)) l++;if(a <0&&abs(a)>abs(a0)) r++;}if((a0 >0&& r ==0)||(a0 <0&& l ==0))printf("1\n");elseprintf("%d\n", l +1+ r);return0;}