#include <bits/stdc++.h>
using namespace std;
int main() {
  long k;
  cin >> k;
  long scale = 1;
  int id = 1;
  long digits = 0;
  for (long i = 1; i <= k; ++i) {
    printf("%d", id);
    for (long j = 0; j < digits; ++j) {
      printf("9");
    }
    puts("");
    if (id % 9 == 0) {
      digits++;
      id = 1;
    } else {
      id++;
    }
  }
  return 0;
}
