#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int K;
  int N = 1;
  int sum = 0;
  cin >> K;
  int c_num = 1;
  int flag = 1;
  while (flag) {
    if (c_num < 10) {
      cout << c_num << endl;
      c_num++;
      K--;
    } else {
      if (c_num % 10 == 9) {
        cout << c_num << endl;
        K--;
      }
      c_num++;
    }
    if (K == 0) flag = 0;
  }
}
