#include <bits/stdc++.h>
using namespace std;
long long dr[] = {-1, 1, 0, 0, -1, 1, -1, 1};
long long dc[] = {0, 0, -1, 1, -1, -1, 1, 1};
int main() {
  long long n;
  cin >> n;
  long long a[n];
  long long sum = 0;
  for (long long i = 0; i < n; i++) {
    cin >> a[i];
    sum += a[i];
  }
  sum = ceil(sum / 2.0);
  long long cnt = 0;
  for (long long i = 0; i < n; i++) {
    cnt += a[i];
    if (cnt >= sum) {
      cout << i + 1 << "\n";
      break;
    }
  }
  return 0;
}
