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