#include <bits/stdc++.h>
using namespace std;
int main() {
  int K, kaisuu, sunuke = 9;
  cin >> K;
  if (K < 10) {
    for (int i = 1; i <= K; ++i) {
      cout << i << endl;
    }
  }
  if (K > 9) {
    for (int i = 1; i <= 9; ++i) {
      cout << i << endl;
    }
    kaisuu = K - 9;
    for (int i = 1; i <= kaisuu; ++i) {
      sunuke = 9 + 10 * i;
      cout << sunuke << endl;
    }
  }
}
