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