#include <bits/stdc++.h>
using namespace std;
long long int mod = 1000000007;
int main() {
  long long int i, j;
  long long int n;
  cin >> n;
  long long int arr[n];
  long long int sum = 0;
  for (int i = 0; i < n; i++) {
    cin >> arr[i];
    sum += arr[i];
  }
  if (sum % 2 != 0) {
    sum++;
  }
  sum = sum / 2;
  long long int s = 0, in = 0;
  for (int i = 0; i < n; i++) {
    if (s < sum) {
      s += arr[i];
      in = i;
    } else {
      break;
    }
  }
  cout << in + 1 << endl;
}
