#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, sum1 = 0, sum2 = 0;
  cin >> n;
  vector<int> a(n);
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    sum1 += a[i];
  }
  for (int i = 0; i < n; i++) {
    sum2 += a[i];
    if (sum2 * 2 >= sum1) {
      cout << i + 1;
      return 0;
    }
  }
}
