#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, i, p;
  vector<long long int> v;
  cin >> n;
  double sum = 0;
  double sum1 = 0;
  for (i = 0; i < n; i++) {
    cin >> p;
    v.push_back(p);
  }
  for (i = 0; i < v.size(); i++) {
    sum = sum + v[i];
  }
  long long int pos = 0;
  for (i = 0; i < v.size(); i++) {
    sum1 = sum1 + v[i];
    if (sum1 >= (sum / 2)) {
      pos = i + 1;
      break;
    }
  }
  cout << pos;
}
