#include <bits/stdc++.h>
using namespace std;
void phoenix() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
}
int main(void) {
  phoenix();
  int testcases = 1;
  while (testcases--) {
    int n;
    cin >> n;
    int arr[n];
    long long summation = 0;
    for (int i = 0; i < n && cin >> arr[i]; i++) summation = arr[i] + summation;
    long long sum = 0;
    for (int i = 0; i < n; i++) {
      sum = sum + arr[i];
      if (sum >= (((summation) / (2)) + ((summation) % (2) ? 1 : 0)))
        return cout << i + 1, 0;
    }
  }
  return 0;
}
