#include <bits/stdc++.h>
using namespace std;
double n, d, a[110], ans;
int main() {
  ios_base::sync_with_stdio(0);
  cin >> n;
  for (long long i = 1; i <= n; i++) cin >> a[i];
  for (long long i = -1000; i <= 1000; i++) {
    if (i != 0)
      for (long long j = 1; j <= n; j++)
        if (a[j] / i > 0) ans++;
    if (ans >= n / 2) {
      cout << i;
      return 0;
    }
    ans = 0;
  }
  cout << 0;
  return 0;
}
