#include <iostream>
#include <list>
using namespace std;

int S[100000000000];

int main(){
  for (int i=0; i<9; i++){
    S[i] = i+1;
  }
  int k;
  cin >> k;
  for (int i=0; i<k-9; i++){
    S[i+9] = (i+1)*10 + 9;
  }
  for (int i=0; i<k; i++){
    cout << S[i] << endl;
  }
  return 0;
}