#include <bits/stdc++.h>
using namespace std;
const double PI = acos(-1.0);
const string alp = "abcdefghijklmnopqrstuvwxyz";
const string ALP = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
const int INTMAX = 2147483647;
const int INTMIN = -2147483648;
const unsigned int UINTMAX = 4294967295;
const long LONGMAX = 9223372036854775807;
const long LONGMIN = -9223372036854775808;
const unsigned long ULONGMAX = 18446744073709551615;
bool isprime(int p) {
  if (p == 1) return false;
  for (int i = (2); i < (p); ++i) {
    if (p % i == 0) return false;
  }
  return true;
}
long a[200010];
bool chk(int l, int r) {
  int rp = 0;
  for (int i = (l); i < (r); ++i) {
    if (rp & a[i]) return false;
    rp += a[i];
  }
  return true;
}
int main() {
  int k;
  cin >> k;
  for (int i = (0); i < (k); ++i) {
    cout << i % 9 + 1;
    for (int j = (0); j < (i / 9 - 1); ++j) cout << 0;
    if (i >= 9) cout << 9;
    cout << endl;
  }
  return 0;
}
