#include <bits/stdc++.h>
using namespace std;
int n, x, a[200005], t;
int main() {
  scanf("%d", &n);
  scanf("%d", &x);
  a[0] = x;
  for (int i = 1; i < n; i++) {
    scanf("%d", &x);
    a[i] = a[i - 1] + x;
  }
  t = (a[n - 1] + 1) / 2;
  for (int i = 0; i < n; i++) {
    if (a[i] >= t) {
      printf("%d", i + 1);
      break;
    }
  }
  return 0;
}
