#include <bits/stdc++.h>
using namespace std;
int a[200008];
int n;
int sum;
int mus;
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) cin >> a[i], sum += a[i];
  for (int i = 0; i < n; i++) {
    mus += a[i];
    if (mus >= sum / 2 and sum % 2 == 0 or mus > sum / 2) {
      cout << i + 1;
      return 0;
    }
  }
}
