#include <bits/stdc++.h>
int main(void) {
  int k, a;
  a = 1;
  long long list[160];
  scanf("%d", &k);
  list[0] = 0;
  for (long long i = 1; a <= k; i *= 10) {
    for (int j = 1; j <= 9 && a <= k; j++) {
      list[a] = list[a - 1] + i;
      printf("%lld\n", list[a]);
      a++;
    }
  }
  return 0;
}
