#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  int mid = ceil(n * 1.0 / 2);
  int a[101];
  for (int i = 0; i < n; i++) cin >> a[i];
  for (int j = -1; j <= 1; j += 2) {
    int num = 0;
    for (int i = 0; i < n; i++) {
      if (a[i] / j > 0) num++;
      if (num >= mid) {
        cout << j << endl;
        return 0;
      }
    }
  }
  cout << 0 << endl;
  return 0;
}
