#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) {
    int64_t cur = 19;
    for (int64_t i = 0; i < k; i++) {
      printf("%" PRId64 "\n", cur);
      cur += 10;
    }
  }
  return 0;
}
