#include <bits/stdc++.h>
using namespace std;
int main() {
  long long num;
  long long K;
  long long ans;
  long long j = 19;
  bool suc = true;
  cin >> K;
  for (int i = 1; i < 10 && i <= K; i++) cout << i << endl;
  num = K - 9;
  if (num <= 0) suc = false;
  while (suc) {
    cout << j << endl;
    j += 10;
    num--;
    if (num <= 0) suc = false;
  }
  return 0;
}
