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