#include <bits/stdc++.h>
using namespace std;
int main() {
  int K;
  cin >> K;
  vector<long long int> sunuke;
  for (int i = 0; i < 9; ++i) {
    sunuke.push_back(i + 1);
  }
  long long int kouho = 10;
  if (K > 9) {
    for (int i = 0; i < K - 9; ++i) {
      kouho += 10;
      sunuke.push_back(kouho - 1);
    }
  }
  for (int i = 0; i < K; ++i) {
    cout << sunuke[i] << endl;
  }
  return 0;
}
