#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a[n], i, s = 0, s1 = 0;
  for (i = 0; i < n; i++) {
    cin >> a[i];
    s += a[i];
  }
  for (i = 0; i < n; i++) {
    s1 += a[i];
    if (s1 >= (0.5 * s)) break;
  }
  cout << i + 1;
}
