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