func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     int arr[n];     int orig[n];     int product = 1;     int counter = 0;     for (int i = 0; i < n; i++) {       cin >> arr[i];       orig[i] = arr[i];       if (arr[i] >= 0) {         arr[i] = -arr[i] - 1;       }       if (arr[i] < 0) {         counter++;       }     }     if (counter % 2 == 0) {       for (int i = 0; i < n; i++) {         cout << arr[i] <<    ;       }     } else {       int maxAbsVal = 0;       int maxIndex = 0;       for (int i = 0; i < n; i++) {         if (abs(arr[i]) >= maxAbsVal) {           maxAbsVal = abs(arr[i]);           maxIndex = i;         }       }       if (arr[maxIndex] == orig[maxIndex]) {         arr[maxIndex] = -arr[maxIndex] - 1;       } else {         arr[maxIndex] = orig[maxIndex];       }       for (int i = 0; i < n; i++) {         cout << arr[i] <<    ;       }     }   }   