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