#include <bits/stdc++.h>
using namespace std;
long long a[210000];
int main() {
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    long long x;
    scanf("%lld", &x);
    a[i] = a[i - 1] + x;
  }
  if (a[n] % 2 == 0) {
    for (int i = 1; i <= n; i++)
      if (a[i] >= a[n] / 2) {
        cout << i << endl;
        return 0;
      }
  } else {
    for (int i = 1; i <= n; i++)
      if (a[i] >= (a[n] + 1) / 2) {
        cout << i << endl;
        return 0;
      }
  }
  return 0;
}
