#include <bits/stdc++.h>
using namespace std;
inline int read() {
  int x = 0, f = 0;
  char ch = getchar();
  for (; ch < '0' || ch > '9'; ch = getchar())
    if (ch == '-') f = 1;
  for (; ch >= '0' && ch <= '9'; ch = getchar())
    x = (x << 1) + (x << 3) + ch - 48;
  return f ? -x : x;
}
int n;
inline int check(long long x, long long y) {
  int n1 = 0, n2 = 0;
  if (x == 0) n1 = 1;
  while (x) x /= 10, n1++;
  while (y) y /= 10, n2++;
  return (n1 != n2);
}
int main() {
  n = read();
  long long x = 0, z = 1;
  while (n--) {
    long long y = x + z;
    if (check(x, y)) z *= 10, y = x + z;
    x = y;
    printf("%lld\n", x);
  }
  return 0;
}
