#include <bits/stdc++.h>
using namespace std;
int main(void) {
  unsigned long long i = 1, K, cnt = 0;
  unsigned long long n = 0, m = 0, sumN = 0, sumM = 0;
  cin >> K;
  if (K > 10) {
    for (i = 1; i < 10; i++) {
      cout << i << endl;
    }
  } else {
    for (i = 1; i < K; i++) {
      cout << i << endl;
    }
  }
  if (K > 9) {
    cnt = 9;
    for (i = 2; cnt < K; i++) {
      cout << 10 * i - 1 << endl;
      cnt++;
    }
  }
  return 0;
}
