#include <bits/stdc++.h>
using namespace std;
long long sumDigit(long long x) {
  long long ret = 0;
  while (true) {
    if (x == 0) return ret;
    ret = ret + (x % 10);
    x = x / 10;
  }
  return 0;
}
int main() {
  long long K;
  cin >> K;
  for (long long i = 1; i <= 9; i++) {
    if (K < i) return 0;
    printf("%d\n", i);
  }
  K -= 9;
  long long now = 19;
  for (long long i = 1; i <= K; i++) {
    printf("%lld\n", now);
    now += 10;
  }
}
