#include <bits/stdc++.h>
using namespace std;
const int mx = 30005;
vector<int> G[mx], cost[mx];
struct data {
  bool ev;
  int val;
};
bool cmp(data a, data b) {
  if (a.val < b.val) {
    return true;
  }
  if (a.val == b.val) {
    return a.ev;
  }
  return false;
}
int main() {
  int n;
  cin >> n;
  double arr[n + 1], sum = 0, x;
  for (int i = 1; i <= n; i++) {
    cin >> x;
    sum += x;
    arr[i] = sum;
  }
  double f = sum / 2;
  for (int i = 1; i <= n; i++) {
    if (arr[i] >= f) {
      cout << i << endl;
      return 0;
    }
  }
  return 0;
}
