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