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