import java.io.*;
class Main{
static int N = 55;
static int[] x = new int[N];
static BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
public static void main(String[] args) throws IOException {
int n = Integer.parseInt(in.readLine());
String[] data = in.readLine().split(" ");
for (int i = 0; i < n; i ++) {
x[i] = Integer.parseInt(data[i]);
}
int left = 0, right = 0;
// 因为第一只是感冒蚂蚁,所以 i从1开始
for (int i = 1; i < n ; i++) {
if (Math.abs(x[i]) < Math.abs(x[0]) && x[i] > 0) left ++;
else if (Math.abs(x[i]) > Math.abs(x[0]) && x[i] < 0) right ++;
}
if (x[0] > 0 && right == 0 || x[0] < 0 && left == 0) {
System.out.println(1);
} else {
System.out.println(left + right + 1);
}
in.close();
}
}