#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int mod = 1e9 + 7;
const int mx = 1e5;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  int n;
  cin >> n;
  int a[n];
  std::vector<int> s(n);
  int cnt = 0;
  for (int i = 0; i < s.size(); i++) {
    cin >> a[i];
    s[i] += (i == 0) ? a[i] : (s[i - 1] + a[i]);
  }
  cout << (int)(lower_bound(s.begin(), s.end(), ((s[n - 1] + 1) / 2)) -
                s.begin()) +
              1;
}
