#include <bits/stdc++.h>
using namespace std;
int n, a[202020], sum, tot;
int main() {
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) scanf("%d", &a[i]), sum += a[i];
  for (int i = 1; i <= n; i++) {
    tot += a[i];
    if (tot >= sum * 1.0 / 2) {
      printf("%d", i);
      return 0;
    }
  }
}
