#include <bits/stdc++.h>
int main() {
  int k, snk = 0, pw = 0;
  long num = 0;
  scanf("%d", &k);
  int i = 0;
  while (snk < k) {
    for (; i < 9 && snk < k; i++) {
      num += powl(10, pw);
      printf("%d\n", num);
      snk++;
    }
    pw++;
    i = 0;
  }
  return 0;
}
