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