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