#include using namespace std; using ll = long long; int main() { ios::sync_with_stdio(0); cin.tie(0); ll n; cin >> n; while (n--) { ll d; cin >> d; if (d == 1) { cout << 10 << '\n'; continue; } cout << 9; while (--d) cout << 0; cout << '\n'; } }