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