func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     long long int t;     cin >> t;     while (t--) {       long long int a[3];       for (long long int i = 0; i < 3; i++) {         cin >> a[i];       }       sort(a, a + 3);       if (a[0] == a[1] && a[1] == a[2]) {         cout <<  YES  << endl;         cout << a[0] <<     << a[1] <<     << a[2] << endl;       } else if (a[1] == a[2] && a[0] < a[1]) {         cout <<  YES  << endl;         cout << a[0] <<     << a[0] <<     << a[1] << endl;       } else         cout <<  NO  << endl;     }     return 0;   }   