#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k = 0, m = 0, p = 0;
  cin >> n;
  vector<int> v(n, 0);
  for (int i = 0; i < n; i++) {
    cin >> v[i];
    k += v[i];
  }
  if (k % 2 == 0) {
    k = k / 2;
  } else {
    k = k / 2 + 1;
  }
  for (int i = 0; i < n; i++) {
    m += v[i];
    if (m >= k) {
      p = i + 1;
      break;
    }
  }
  cout << p;
  return 0;
}
