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