#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  int cnt = 9;
  for (int i = 1; i <= min(9, k); i++) cout << i << endl;
  string s;
  while (cnt < k) {
    if (cnt % 9 == 0) s += "9";
    cout << cnt % 9 + 1 << s << endl;
    cnt++;
  }
  return 0;
}
