#include <bits/stdc++.h>
int main() {
  int k;
  long long v = 1, c, u, h;
  scanf("%d", &k);
  if (k > 0) {
    printf("1\n");
    k--;
  }
  while (k) {
    u = 1;
    c = v;
    while (c) {
      u *= 10;
      h = c % 10;
      c /= 10;
    }
    u /= 10;
    if (h == 9) {
      v = v + 1 * u * 10;
    } else {
      v = v + u;
    }
    printf("%lld\n", v);
    k--;
  }
  return 0;
}
