#include <bits/stdc++.h>
using namespace std;
long long x, arr[200005], sum, n;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> n;
  for (int i = 1; i <= n; i++) cin >> arr[i], sum += arr[i];
  for (int i = 1; i <= n; i++) {
    x += arr[i];
    if (x >= (sum + 1) / 2) cout << i << endl, exit(0);
  }
  return 0;
}
