#include <bits/stdc++.h>
using namespace std;
string cal(int k) {
  string res = "";
  while (k) {
    char c = '0';
    if (k < 9) {
      c += k;
      k = 0;
    } else {
      c = '9';
      k -= 9;
    }
    res = c + res;
  }
  return res;
}
int main(void) {
  long long k;
  cin >> k;
  for (long long i = 1; i <= k; i++) {
    cout << cal(i) << endl;
  }
  return 0;
}
