#include <bits/stdc++.h>
int main() {
  int n, i, s = 0, c = 0, b;
  scanf("%d", &n);
  int a[n];
  for (i = 0; i < n; i++) {
    scanf("%d", &a[i]);
  }
  for (i = 0; i < n; i++) {
    s = s + a[i];
  }
  s = s / 2 + s % 2;
  for (i = 0; i < n; i++) {
    c = c + a[i];
    if (c >= s) {
      b = i;
      break;
    }
  }
  printf("%d", b + 1);
  return 0;
}
