#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(NULL);
  int n;
  cin >> n;
  vector<int> a(n);
  for (int i = 0; i < n; ++i) cin >> a[i];
  int s = 0;
  for (auto &b : a) s += b;
  int z = 0;
  int m = -1;
  for (int i = 0; i < n; ++i) {
    z += a[i];
    if (2 * z >= s) {
      m = i;
      break;
    }
  }
  cout << m + 1 << '\n';
}
