#include <bits/stdc++.h>
using namespace std;
int n, a[200001], i, s, c;
int main() {
  cin >> n;
  for (i = 1; i <= n; i++) {
    cin >> a[i];
    c = c + a[i];
  }
  for (i = 1; i <= n; i++) {
    s = s + a[i];
    if ((c / 2 + c % 2) == s || (c / 2 + c % 2) < s) {
      cout << i << endl;
      return 0;
    }
  }
}
