#include <bits/stdc++.h>
using namespace std;
int data[105];
int main() {
  int n, np = 0, nz = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> data[i];
    if (!data[i])
      nz++;
    else if (data[i] > 0)
      np++;
  }
  if (np >= n - np)
    cout << 1 << endl;
  else if (np + nz <= n - np - nz)
    cout << -1 << endl;
  else
    cout << 0 << endl;
  return 0;
}
