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