#include using namespace std; #define int long long typedef pair P; int INF = 3e18+7; int mod = 998244353; int dx[] = {1, 0,-1, 0, 1, 1,-1,-1}; int dy[] = {0, 1, 0,-1, 1,-1, 1,-1}; signed main() { int N; cin >> N; vectord(N); for(int i = 0; i < N; i++) { cin >> d[i]; if(d[i] == 1) { cout << 10 << endl; continue; } cout << 9; for(int j = 0; j < d[i]-1; j++) { cout << 0; } cout << endl; } }