#include <bits/stdc++.h>
int main(void) {
  long long int n = 0;
  int count = 0;
  scanf("%lld", &n);
  for (long long int i = 0; i < n;) {
    for (int j = 1; j < 10; j++) {
      printf("%d", j);
      if (count)
        for (int k = 0; k < count; k++) printf("9");
      printf("\n");
      i++;
      if (i >= n) break;
    }
    count++;
  }
  return 0;
}
