#include <bits/stdc++.h>
using namespace std;
inline long long getint() {
  static long long num;
  static bool f;
  static char c;
  num = 0;
  f = 0;
  while (c = getchar(), !isdigit(c))
    if (c == '-') break;
  if (c == '-') f = 1, c = getchar();
  while (isdigit(c)) num = (num << 1) + (num << 3) + c - '0', c = getchar();
  return f ? -num : num;
}
inline void outint(long long a) {
  if (a > 9) outint(a / 10);
  putchar(a % 10 + '0');
}
char s[16] = {'9'};
int k;
int main() {
  k = getint();
  for (int register i = 1; i <= min(k, 9); ++i) outint(i), puts("");
  k -= 9;
  int len = 0;
  int i = 0;
  while (k--) {
    s[len++] = '9';
    i = (i + 1) % 10;
    outint(i), puts(s);
  }
  return 0;
}
