#include <bits/stdc++.h>
int main(void) {
  double i;
  double x = 1;
  int k;
  int cnt = 0;
  scanf("%d", &k);
  for (i = 1; cnt < k; i += x) {
    printf("%0.0f\n", i);
    cnt++;
    if (cnt % 9 == 0) {
      x *= 10;
    }
  }
  return 0;
}
