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