#include <bits/stdc++.h>
using namespace std;
const long long N = 2e5 + 10;
long long a[N];
signed main() {
  long long n;
  cin >> n;
  for (long long i = 1; i <= n; i++) cin >> a[i];
  long long sum = accumulate(a + 1, a + n + 1, 0LL);
  long long cur = 0;
  for (long long i = 1; i <= n; i++) {
    cur += a[i];
    if (2 * cur >= sum) {
      cout << i << "\n";
      return 0;
    }
  }
}
