#include <bits/stdc++.h>
int main(int argc, char const *argv[]) {
  long K;
  scanf("%ld", &K);
  for (long i = 1; i < K && i < 10; i++) {
    printf("%ld\n", i);
  }
  K -= 9;
  int count = 1;
  while (K) {
    printf("%ld\n", (count * 10) + 9);
    count++;
    K--;
  }
  return 0;
}
