#include <bits/stdc++.h>
int main() {
  long long k;
  scanf("%lld", &k);
  int count = 0;
  while (count < k) {
    for (int i = 1; i <= 8 && count < k; i++) {
      printf("%d\n", i);
      count++;
    }
    for (int digit = 2; count < k; digit++) {
      for (int i = 1; i <= 9 && count < k; i++) {
        printf("%d\n", (int)pow(10, digit - 1) * i - 1);
        count++;
      }
    }
  }
  return 0;
}
