#include <bits/stdc++.h>
using namespace std;
int a[105];
double t[105];
int main() {
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  int cnt;
  for (int d = -1000; d <= 1000; d++) {
    if (d != 0) {
      for (int i = 0; i < n; i++) {
        t[i] = a[i] * 1.0 / d;
      }
      cnt = 0;
      for (int i = 0; i < n; i++) {
        if (t[i] > 0) {
          cnt++;
        }
      }
      if (cnt >= (n + 1) / 2) {
        cout << d << endl;
        return 0;
      }
    }
  }
  cout << 0 << endl;
  return 0;
}
