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