#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;
  long count = 1;
  long num = 1;
  while (K) {
    if (num == 10) count++;
    num %= 10;
    if (num == 0) num++;
    printf("%ld", num);
    for (int i = 0; i < count; i++) {
      printf("9");
    }
    printf("\n");
    K--;
    num++;
  }
  return 0;
}
