#include <bits/stdc++.h>
int main() {
  long long a[10000], i;
  int j, cnt, k;
  for (i = 1; i < 10; i++) a[i - 1] = i;
  cnt = 9;
  for (i = 10; i < 100000000000000000; i *= 10) {
    for (j = 0; j < 9; j++) {
      a[cnt] = a[cnt - 1] + i;
      cnt++;
    }
  }
  scanf("%d", &k);
  for (i = 0; i < k; i++) printf("%lld\n", a[i]);
  return 0;
}
