func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     long long sumfirst = 0, sumsecond = 0;     long long n;     vector<long long> first, second;     long long arr[200000];     cin >> n;     for (int i = 0; i < n; i++) {       cin >> arr[i];       if (arr[i] > 0)         sumfirst += arr[i];       else if (arr[i] < 0)         sumsecond += arr[i];       if (arr[i] > 0)         first.push_back(arr[i]);       else         second.push_back(arr[i]);     }     if (sumfirst > (sumsecond * -1)) {       cout <<  first  << endl;       return 0;     } else if (sumfirst < (sumsecond * -1)) {       cout <<  second  << endl;       return 0;     }     for (int i = 0; i < min(second.size(), first.size()); i++) {       if (first[i] > (second[i] * -1)) {         cout <<  first  << endl;         return 0;       } else if ((second[i] * -1) > first[i]) {         cout <<  second  << endl;         return 0;       }     }     if (arr[n - 1] > 0) {       cout <<  first  << endl;       return 0;     } else       cout <<  second  << endl;     return 0;     return 0;   }   