func_code_string: #include <bits/stdc++.h>   using namespace std;   long long inf = numeric_limits<long long>::max();   int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     int cases;     cin >> cases;     while (cases--) {       int n;       cin >> n;       if (n % 2 == 0)         cout << 1;       else         cout << 7;       n -= 2;       n /= 2;       while (n--) cout << 1;       cout <<   n ;     }     return 0;   }   