#include <bits/stdc++.h>
using namespace std;
int main() {
  unsigned long K;
  cin >> K;
  unsigned long i = 0;
  unsigned long show = 1;
  while (1) {
    if (K == i) break;
    if (show < 10) {
      cout << show << endl;
      if (show == 9)
        show += 10;
      else
        show++;
    } else {
      cout << show << endl;
      show += 10;
    }
    i++;
  }
}
