#include <bits/stdc++.h>
using namespace std;
int sum_digit(int n) {
  int sum = 0;
  while (n != 0) {
    sum += n % 10;
    n /= 10;
  }
  return sum;
}
int main() {
  int K;
  cin >> K;
  for (int i = 0; i < (int)(min(9, K)); i++) {
    cout << i + 1 << endl;
  }
  for (int i = 0; i < (int)(K - 9); i++) {
    cout << 10 * i + 19 << endl;
  }
  return 0;
}
