func_code_string: #include <bits/stdc++.h>   using namespace std;   int a, b, c, d, arr[200001], arr2[200001], e, f, g, mn = 1e9, ans, sum, ct, t,                                                       ct2, mx, sum2;   bool kk;   int main() {     cin >> a;     for (int i = 0; i < a; i++) {       cin >> arr[i];       sum += arr[i];     }     for (int i = 0; i < a; i++) {       sum2 += arr[i];       if (sum % 2) {         if (sum2 >= sum / 2 + 1) {           cout << i + 1;           return 0;         }       } else {         if (sum2 >= sum / 2) {           cout << i + 1;           return 0;         }       }     }     return 0;   }   