#include <bits/stdc++.h>
using namespace std;
long long K;
string s("19");
int main(void) {
  cin >> K;
  for (long long i = 1; i <= K; ++i) {
    if (i < 10)
      cout << i << endl;
    else {
      cout << s << endl;
      ++s[0];
      if (s[0] > '9') s[0] = '1', s.push_back('9');
    }
  }
  return 0;
}
