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