#include <bits/stdc++.h>
using namespace std;
double arr[105];
int main() {
  int n, d = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> arr[i];
  }
  for (double i = -1000; i <= 1000; i++) {
    if (i == 0) continue;
    int b1 = 0;
    for (int j = 0; j < n; j++) {
      if (arr[j] / i > 0) b1 += 1;
    }
    if (n % 2 == 0 && b1 >= n / 2) {
      d = i;
      break;
    }
    if (n % 2 == 1 && b1 > n / 2) {
      d = i;
      break;
    }
  }
  cout << d;
  return 0;
}
