func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     long long n;     cin >> n;     vector<pair<long long, long long>> arr(n);     for (long long i = 0; i < n; i++) {       long long a;       cin >> a;       if (a >= 0) a = (-1) * a - 1;       arr[i] = {a, i};     }     sort(arr.begin(), arr.end());     if (n % 2 == 1) {       long long f = 0;       for (long long i = 0; i < n; i++) {         if (arr[i].first != -1) {           arr[i].first = (-1) * arr[i].first - 1;           f++;           break;         }       }       if (f == 0) {         arr[0].first = 0;       }     }     vector<long long> ans(n);     for (long long i = 0; i < n; i++) {       ans[arr[i].second] = arr[i].first;     }     for (auto i : ans) cout << i <<    ;     cout << endl;   }   