#include <bits/stdc++.h>
using namespace std;
long long mod = 1e9 + 7;
const int N = 2e5 + 5;
const double pi = acos(-1);
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long mx = 0, n, arr[N], temp = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> arr[i];
    mx += arr[i];
  }
  for (int i = 0; i < n; i++) {
    temp += arr[i];
    if (temp * 2 >= mx) return cout << i + 1, 0;
  }
  return 0;
}
