#include <bits/stdc++.h>
using namespace std;
int main() {
  int K;
  cin >> K;
  if (K < 10) {
    for (int i = (0); i < (K); ++i) {
      cout << i + 1 << endl;
    }
  } else {
    for (int i = (0); i < (9); ++i) {
      cout << i + 1 << endl;
    }
    long long t = K - 9;
    for (long long i = 19; t > 0; i += 10, t--) {
      cout << i << endl;
    }
  }
  return 0;
}
