#include using namespace std; #define int long long signed main(){ int N; cin >> N; while(N--){ int a; cin >> a; if(a == 1){ cout << 10 << endl; continue; } cout << 9; a--; while(a--){ cout << 0; } cout << endl; } }