#include <bits/stdc++.h>
using namespace std;
int a[200004];
int main() {
  int n, c, ts, ind;
  cin >> n;
  c = 0;
  ts = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    ts = ts + a[i];
  }
  if (ts % 2 == 1)
    ts = (ts / 2) + 1;
  else
    ts = ts / 2;
  for (int i = 0; i < n; i++) {
    c = c + a[i];
    if (c >= ts) {
      ind = i + 1;
      break;
    }
  }
  cout << ind;
  return 0;
}
