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