#include <bits/stdc++.h>
using namespace std;
map<int, int> m;
int main() {
  int k;
  scanf("%d", &k);
  for (int i = 1; i <= 9; i++) m[i] = i;
  int ct = 10, c2 = 1;
  int t = 1;
  if (k < 10) {
    for (int i = 1; i <= k; i++) {
      printf("%d\n", i);
    }
  } else {
    int kk = 9;
    for (int i = 1; i <= 9; i++) {
      printf("%d\n", i);
    }
    for (;;) {
      if (kk == k) break;
      kk++;
      printf("%d", c2);
      for (int i = 0; i < t; i++) printf("9");
      printf("\n");
      c2++;
      if (c2 == 10) {
        c2 = 1;
        t++;
      }
    }
  }
}
