#include <bits/stdc++.h>   using namespace std;   int main() {     int t;     cin >> t;     while (t--) {       int n;       cin >> n;       vector<long long int> v(n);       for (long long int &x : v) cin >> x;       for (int i = 0; i < n; i++) {         if (i % 2)           v[i] = -abs(v[i]);         else           v[i] = abs(v[i]);         cout << v[i] <<    ;       }       cout << endl;     }     return 0;   }   