#include <bits/stdc++.h>
using namespace std;
int main() {
  int K;
  cin >> K;
  for (int j = 1; j <= K; ++j) {
    if (j <= 9) {
      cout << j << endl;
    } else {
      cout << 1 << string(j - 9, '9') << endl;
    }
  }
}
