#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long n;
  cin >> n;
  long long a[n];
  long long s = 0;
  for (long long i = 0; i < n; i++) cin >> a[i], s += a[i];
  long long p = 0;
  for (long long i = 0; i < n; i++) {
    p += a[i];
    if (2 * p >= s) {
      return cout << i + 1, 0;
    }
  }
}
