#include <bits/stdc++.h>
using namespace std;
int a[300005];
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) scanf("%d", &a[i]);
  int Sum = 0;
  for (int i = 1; i <= n; i++) Sum += a[i];
  int indx = 0;
  int Taken = 0;
  while (Sum > 2 * Taken) {
    indx++;
    Taken += a[indx];
  }
  cout << indx << endl;
}
