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