#include <bits/stdc++.h>
using namespace std;
int n, a[200020], sum = 0, ans = 0;
bool f = false;
int main() {
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
    sum += a[i];
  }
  if (sum & 1) f = true;
  for (int i = 1; i <= n; i++) {
    ans += a[i];
    if (!f && ans >= sum / 2 || f && ans > sum / 2) {
      cout << i << endl;
      break;
    }
  }
  return 0;
}
