#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int arr[n];
  long long sum = 0;
  for (int i = 0; i < n; i++) {
    cin >> arr[i];
    sum += arr[i];
  }
  if (sum % 2 != 0) {
    sum++;
  }
  long long sum1 = 0;
  for (int i = 0; i < n; i++) {
    sum1 += arr[i];
    if (sum1 >= (sum / 2)) {
      cout << i + 1 << endl;
      return 0;
    }
  }
}
