#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n;
  cin >> n;
  int sum = 0;
  std::vector<int> a(n);
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
    sum += a[i];
  }
  int hsum = (sum + 1) >> 1;
  int cur = 0;
  for (int i = 0; i < n; ++i) {
    cur += a[i];
    if (hsum <= cur) {
      cout << i + 1 << endl;
      return 0;
    }
  }
  return 0;
}
