#include <bits/stdc++.h>
static inline int ri() {
  int a;
  scanf("%d", &a);
  return a;
}
static inline int64_t rs64() {
  int64_t a;
  scanf("%" SCNd64, &a);
  return a;
}
static inline void wi(int a) { printf("%d", a); }
static inline void wu64(uint64_t a) { printf("%" PRIu64, a); }
int main() {
  int64_t k = rs64();
  for (int i = 0; i < 9 && i < k; i++) {
    printf("%d\n", i + 1);
  }
  k -= 9;
  if (k > 0) {
    uint64_t base = 10;
    while (1) {
      bool break_flag = false;
      for (int i = 0; i < 9; i++) {
        wu64(base * (i + 2) - 1);
        printf("\n");
        k--;
        if (!k) {
          break_flag = true;
          break;
        }
      }
      if (break_flag) break;
      base *= 10;
    }
  }
  return 0;
}
