#include <bits/stdc++.h>
using namespace std;
long long S(long long n) {
  long long s = 0;
  while (n) {
    s += n % 10;
    n /= 10;
  }
  return s;
}
int main() {
  long long K;
  cin >> K;
  for (long long i = 1; i < (long long)10; i++) {
    cout << i << endl;
    K--;
    if (!K) {
      break;
    }
  }
  long long n = 19;
  while (K) {
    cout << n << endl;
    n += 10;
    K--;
  }
  return 0;
}
