#include <bits/stdc++.h>
using namespace std;
int main() {
  long long a;
  cin >> a;
  long long sum = 0, arr[a];
  for (long long i = 0; i < a; i++) {
    cin >> arr[i];
    sum = sum + arr[i];
  }
  long long ans = 0, temp = 0, tt = 0;
  if (sum % 2 != 0)
    temp = sum / 2 + 1;
  else
    temp = sum / 2;
  while (tt < temp) {
    tt = tt + arr[ans];
    ans++;
  }
  cout << ans;
}
