func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     long long t, n, k;     cin >> t;     while (t--) {       cin >> k >> n;       cout << n + (9 * (k - 1)) << endl;     }     return 0;   }   