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