#include <bits/stdc++.h>
using namespace std;
int main() {
  std::ios::sync_with_stdio(false);
  int n;
  cin >> n;
  vector<int> v(n);
  for (long long int i = 0; i < n; i++) {
    cin >> v[i];
  }
  int req;
  int s = accumulate(v.begin(), v.end(), 0);
  if (s % 2 == 0) {
    req = s / 2;
  } else {
    req = s / 2 + 1;
  }
  int c = 0;
  for (long long int i = 0; i < n; i++) {
    c += v[i];
    if (c >= req) {
      cout << i + 1;
      return 0;
    }
  }
  return 0;
}
