#include <bits/stdc++.h>
using namespace std;
long long a[1000000];
int main() {
  ios_base::sync_with_stdio(0);
  long long n, cnt = 0, lol = 0;
  cin >> n;
  for (long long i = 0; i < n; i++) {
    cin >> a[i];
    cnt += a[i];
  }
  for (long long i = 0; i < n; i++) {
    lol += a[i];
    if (lol >= (cnt + 1) / 2) {
      cout << i + 1;
      return 0;
    }
  }
}
