#include <bits/stdc++.h>
using namespace std;
int dx[] = {0, 0, 1, -1, 1, -1, 1, -1};
int dy[] = {1, -1, 0, 0, -1, 1, 1, -1};
long long gcd(long long a, long long b) { return !b ? a : gcd(b, a % b); }
long long lcm(long long a, long long b) { return (a / gcd(a, b)) * b; }
void dance() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
}
bool comp(pair<int, int> x, pair<int, int> y) {
  if (x.first == y.first) return x.second < y.second;
  return x.first > y.first;
}
void PLAY() {
  cout << fixed << setprecision(15);
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
}
int main() {
  dance();
  int n;
  cin >> n;
  int arr[200000 + 9];
  long long s = 0;
  for (int i = 0; i < n; i++) {
    cin >> arr[i];
    s += arr[i];
  }
  double mid = s / 2.0;
  long long d = 0;
  int i = 0;
  int pos = 0;
  for (; i < n; i++) {
    d += arr[i];
    if (d >= mid) {
      pos = i + 1;
      break;
    }
  }
  cout << pos;
  return 0;
}
