#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<int, int>;
using vi = vector<int>;
using vll = vector<ll>;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout << fixed << setprecision(20);
  int n;
  cin >> n;
  vi a(n);
  ll s = 0;
  for (int(i) = (0); (i) < (int)(n); ++(i)) {
    cin >> a[i];
    s += a[i];
  }
  ll t = 0;
  for (int(i) = (0); (i) < (int)(n); ++(i)) {
    t += a[i];
    if (t * 2 >= s) {
      cout << i + 1 << endl;
      break;
    }
  }
}
