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