#include <bits/stdc++.h>
int main() {
  int k;
  int i;
  scanf("%d", &k);
  if (k <= 9) {
    for (i = 1; i <= k; i++) printf("%d\n", i);
  } else
    for (i = 1; i <= 9; i++) printf("%d\n", i);
  if (k >= 10 && k <= 18)
    for (i = 1; i <= k - 9; i++) printf("%d\n", 10 * i + 9);
  else if (k >= 19)
    for (i = 1; i <= 9; i++) printf("%d\n", 10 * i + 9);
  if (k >= 19)
    for (i = 0; i <= k - 19; i++) printf("%ld\n", (long)199 + 100 * i);
  return 0;
}
