#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int k;
  cin >> k;
  for (int i = 0; i < 9 && k != 0; i++) {
    cout << i + 1 << endl;
    k--;
  }
  int p = 19;
  while (k != 0) {
    cout << p << endl;
    p += 10;
    k--;
  }
}
