#include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 10, mod = 1e9 + 7;
int t, n, a[N];
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> n;
  int sum = 0;
  for (int i = 0; i < n; i++) cin >> a[i], sum += a[i];
  int sum2 = 0;
  for (int i = 0; i < n; i++) {
    sum2 += a[i];
    if (sum2 * 2 >= sum) return cout << i + 1, 0;
  }
}
