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