#include <bits/stdc++.h>
using namespace std;
int main() {
  int K;
  cin >> K;
  if (K <= 9) {
    for (int i = 1; i <= K; i++) cout << i << endl;
  } else {
    for (int i = 1; i <= 9; i++) cout << i << endl;
    int res = K - 9;
    int n = 11;
    while (res > 0) {
      if (n % 10 == 9) {
        cout << n << endl;
        res--;
      }
      n++;
    }
  }
  return 0;
}
