#include <bits/stdc++.h>
using namespace std;
int main() {
  int K;
  cin >> K;
  int i = 1, num = 0, nines = 0;
  while (i <= K) {
    if (num >= 10) {
      num = 1;
      nines++;
    }
    printf("%d", num);
    for (int i = 0; i < nines; i++) {
      printf("9");
    }
    printf("\n");
    num++;
    i++;
  }
}
