#include <bits/stdc++.h>
int n, a[200005];
int main() {
  scanf("%d", &n);
  int sum = 0;
  for (int i = 1; i <= n; ++i) {
    scanf("%d", a + i);
    sum += a[i];
    a[i] += a[i - 1];
  }
  ++sum;
  sum >>= 1;
  printf("%d\n", std::lower_bound(a, a + 1 + n, sum) - a);
}
