#include <bits/stdc++.h>
long long K;
long long out;
long long now_unit;
int now_digit;
int now_id;
int main() {
  now_digit = 1;
  now_id = 1;
  out = 0;
  scanf("%lld", &K);
  for (long long k = 0; k < K; k++) {
    if (now_id == 10) {
      now_id = 1;
      now_digit++;
    }
    printf("%d", now_id);
    for (int k = 0; k < now_digit - 1; k++) {
      printf("9");
    }
    printf("\n");
    now_id++;
  }
}
