#include <bits/stdc++.h>
using namespace std;
const long long sz = 2e5 + 5;
long long a[sz];
signed main() {
  long long n;
  cin >> n;
  long long sum = 0;
  for (long long i = 0; i < n; ++i) {
    cin >> a[i];
    sum += a[i];
  }
  long long half = (sum + 1) / 2;
  long long sum2 = 0;
  long long ans = -1;
  for (long long i = 0; i < n; ++i) {
    sum2 += a[i];
    if (sum2 >= half) {
      ans = i;
      break;
    }
  }
  cout << ans + 1;
}
