#include <bits/stdc++.h>
using namespace std;
int n, a[500010];
long long s, tmp, half;
int main() {
  scanf("%d", &n);
  for (register int i = 1; i <= n; i++) {
    scanf("%d", &a[i]);
    s += a[i];
  }
  if ((s & 1) == 1)
    half = s / 2 + 1;
  else
    half = s / 2;
  for (register int i = 1; i <= n; i++) {
    tmp += a[i];
    if (tmp >= half) return printf("%d", i), 0;
  }
  return 0;
}
