#include <bits/stdc++.h>
using std::list;
using std::max;
using std::min;
using std::vector;
int main() {
  long long n;
  scanf("%lld", &n);
  for (long long i = 1; i < 10; i++) {
    printf("%lld\n", i);
  }
  n -= 9;
  int largest_digit = 1;
  int ndigit = 1;
  for (long long i = 0; i < n; i++) {
    printf("%d", largest_digit);
    for (int i = 0; i < ndigit; i++) {
      putchar('9');
    }
    putchar('\n');
    if (largest_digit == 9) {
      largest_digit = 1;
      ndigit++;
    } else {
      largest_digit++;
    }
  }
  return 0;
}
