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