#include <bits/stdc++.h>
using namespace std;
long long n, i, s[200010], h, aux, x, sum;
int main() {
  cin >> n;
  for (i = 1; i <= n; ++i) {
    cin >> s[i];
    sum += s[i];
  }
  h = sum / 2 + (sum % 2 == 1 ? 1 : 0);
  for (i = 1; i <= n; ++i) {
    aux += s[i];
    if (aux >= h) {
      cout << i;
      return 0;
    }
  }
  return 0;
}
