func_code_string: #include <bits/stdc++.h>   using namespace std;   void solve() {     string s;     cin >> s;     string ans;     ans += s[0];     for (int i = 1; i <= s.length() - 2; i = i + 2) {       ans += s[i];     }     ans += s[s.length() - 1];     cout << ans;   }   int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     cout.tie(NULL);     long test;     cin >> test;     while (test--) {       solve();       cout <<   n ;     }   }   