#include <bits/stdc++.h>
using namespace std;
int main() {
  long long N;
  cin >> N;
  vector<int> v;
  long long a = 0;
  while (v.size() != N) {
    for (int i = 1; i < 9; i++) {
      if (v.size() == N) break;
      v.push_back(a * 100 + i);
    }
    for (long long i = 1; i < 10; i++) {
      if (v.size() == N) break;
      v.push_back(a * 100 + i * 10 - 1);
    }
    a++;
  }
  for (int i = 0; i < N; i++) {
    cout << v[i] << endl;
  }
}
