#include <bits/stdc++.h>
using namespace std;
const int N = 3e5 + 2;
int n, a[101];
int main() {
  cin >> n;
  int z, pos, neg;
  z = pos = neg = 0;
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
    z += a[i] == 0;
    pos += a[i] > 0;
    neg += a[i] < 0;
  }
  ++n;
  n /= 2;
  int ans = (pos >= n ? 1 : (neg >= n) ? -1 : 0);
  cout << ans << endl;
  return 0;
}
