#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a[200088], he = 0, s = 0, t = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    he += a[i];
  }
  for (int i = 0; i < n; i++) {
    if (s >= he * 1.0 / 2) {
      break;
    }
    s += a[i];
    t++;
  }
  cout << t << endl;
  return 0;
}
