#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, A[200001], j;
  cin >> n;
  double sum = 0;
  for (int i = 0; i < n; ++i) {
    cin >> A[i];
    sum += A[i];
  }
  sum = sum / 2;
  for (j = 0; sum > 0; ++j) sum -= A[j];
  cout << j << endl;
  return 0;
}
