#include <bits/stdc++.h>
using namespace std;
const int inf = 0x3f3f3f3f, INF = 0x7fffffff;
const long long infll = 0x3f3f3f3f3f3f3f3fll, INFll = 0x7fffffffffffffffll;
int read() {
  int tmp = 0, fh = 1;
  char ch = getchar();
  while (ch < '0' || ch > '9') {
    if (ch == '-') fh = -1;
    ch = getchar();
  }
  while (ch >= '0' && ch <= '9') {
    tmp = tmp * 10 + ch - '0';
    ch = getchar();
  }
  return tmp * fh;
}
int main() {
  int n = read();
  int tmp = 0, now = 0;
  for (int i = 1; i <= n; i++) {
    now++;
    if (now > 9) now = 1, tmp++;
    printf("%d", now);
    for (int i = 1; i <= tmp; i++) printf("9");
    printf("\n");
  }
  return 0;
}
