#include <bits/stdc++.h>
using namespace std;
template <class T>
inline bool read(T &num) {
  char in;
  bool IsN = false;
  while (in = getchar(), in != '-' && (in < '0' || in > '9'))
    if (in == EOF) return false;
  in == '-' ? (IsN = true, num = 0) : num = in - '0';
  while (in = getchar(), in >= '0' && in <= '9') num = num * 10 + in - '0';
  return IsN ? num = -num : num, true;
}
const int maxn = 2e5 + 7;
const int inf = 2e9 + 7;
const int mod = 1e9 + 7;
int have[maxn];
int main() {
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  long long tot = 0;
  for (int i = (0); i < (n); i++) {
    cin >> have[i];
    tot += have[i];
  }
  long long need = 0;
  for (int i = (0); i < (n); i++) {
    need += have[i];
    if (2 * need >= tot) {
      cout << i + 1 << endl;
      break;
    }
  }
  return 0;
}
