#include <bits/stdc++.h>
using namespace std;
int read() {
  char c = getchar();
  int x = 0, f = 1;
  while (c < '0' || c > '9') {
    if (c == '-') f = -1;
    c = getchar();
  }
  while (c >= '0' && c <= '9') {
    x = x * 10 + c - '0';
    c = getchar();
  }
  return x * f;
}
int main() {
  int k = read();
  for (int i = 0; i < k; i++) {
    printf("%d", i % 9 + 1);
    for (int j = 0; j < i / 9; j++) printf("9");
    printf("\n");
  }
  return 0;
}
