#include <bits/stdc++.h>
double digsum(int n) {
  int array[16], i;
  double sum = 0;
  for (i = 29; i >= 0; i--) {
    array[i] = n / (int)pow(10, i);
    n = n % (int)pow(10, i);
    sum += (double)array[i];
  }
  return sum;
}
int main() {
  int K, num1, num2, j;
  int i;
  int *array;
  scanf("%d", &K);
  array = (int *)malloc(sizeof(int) * K);
  for (i = 0; i < K; i++) {
    num1 = (i + 1) / 9;
    num2 = (i + 1) % 9;
    array[i] = (int)pow(10, num1) * num2;
    for (j = 0; j < num1; j++) {
      array[i] = array[i] + 9 * (int)pow(10, j);
    }
  }
  for (i = 0; i < K; i++) printf("%d\n", array[i]);
  return 0;
}
