func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int t;     cin >> t;     while (t--) {       int n;       cin >> n;       vector<int> a[3];       for (int i = 0; i < 3; i++) {         a[i].assign(n, 0);         for (auto &x : a[i]) cin >> x;       }       vector<int> res;       for (int i = 0; i < n; i++) {         for (int j = 0; j < 3; j++) {           if (!res.empty() && res.back() == a[j][i]) continue;           if (i == n - 1 && !res.empty() && res[0] == a[j][i]) continue;           res.push_back(a[j][i]);           break;         }       }       for (auto &x : res) cout << x <<    ;       cout <<   n ;     }   }   