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