#include <bits/stdc++.h>
using namespace std;
using LL = long long;
using P = pair<int, int>;
const int INF = (int)1e9;
const LL INFL = (LL)1e15;
const int MOD = 1e9 + 7;
int dy[] = {0, 0, 1, -1, 0};
int dx[] = {1, -1, 0, 0, 0};
signed main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int k;
  cin >> k;
  int num = 0, a = 1, keta = 10;
  while (k--) {
    if (k < 0) break;
    cout << a;
    cout << endl;
    a++;
    if (a == 10) break;
  }
  a = 1;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(1); ++i) cout << 9;
    cout << endl;
    a++;
    if (a == 10) break;
  }
  a = 1;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(2); ++i) cout << 9;
    cout << endl;
    a++;
    if (a == 10) break;
  }
  a = 10;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(2); ++i) cout << 9;
    cout << endl;
    if (a < 19)
      a++;
    else
      a += 10;
    if (a > 99) break;
  }
  a = 10;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(3); ++i) cout << 9;
    cout << endl;
    if (a < 29)
      a++;
    else
      a += 10;
    if (a > 99) break;
  }
  a = 10;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(4); ++i) cout << 9;
    cout << endl;
    if (a < 39)
      a++;
    else
      a += 10;
    if (a > 99) break;
  }
  a = 10;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(5); ++i) cout << 9;
    cout << endl;
    if (a < 49)
      a++;
    else
      a += 10;
    if (a > 99) break;
  }
  a = 10;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(6); ++i) cout << 9;
    cout << endl;
    if (a < 59)
      a++;
    else
      a += 10;
    if (a > 99) break;
  }
  a = 10;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(7); ++i) cout << 9;
    cout << endl;
    if (a < 69)
      a++;
    else
      a += 10;
    if (a > 99) break;
  }
  a = 10;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(8); ++i) cout << 9;
    cout << endl;
    if (a < 79)
      a++;
    else
      a += 10;
    if (a > 99) break;
  }
  a = 10;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(9); ++i) cout << 9;
    cout << endl;
    if (a < 89)
      a++;
    else
      a += 10;
    if (a > 99) break;
  }
  a = 10;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(10); ++i) cout << 9;
    cout << endl;
    if (a < 99)
      a++;
    else
      a += 10;
    if (a > 99) break;
  }
  a = 100;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(10); ++i) cout << 9;
    cout << endl;
    if (a < 109)
      a++;
    else
      a += 10;
    if (a > 999) break;
  }
  a = 100;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(11); ++i) cout << 9;
    cout << endl;
    if (a < 119)
      a++;
    else
      a += 10;
    if (a > 999) break;
  }
  a = 100;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(12); ++i) cout << 9;
    cout << endl;
    if (a < 129)
      a++;
    else
      a += 10;
    if (a > 999) break;
  }
  a = 100;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(13); ++i) cout << 9;
    cout << endl;
    if (a < 139)
      a++;
    else
      a += 10;
    if (a > 999) break;
  }
  a = 100;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(14); ++i) cout << 9;
    cout << endl;
    if (a < 149)
      a++;
    else
      a += 10;
    if (a > 999) break;
  }
  a = 100;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(15); ++i) cout << 9;
    cout << endl;
    if (a < 159)
      a++;
    else
      a += 10;
    if (a > 999) break;
  }
  a = 100;
  while (k--) {
    if (k < 0) break;
    cout << a;
    for (int i = (int)(0); i < (int)(16); ++i) cout << 9;
    cout << endl;
    if (a < 169)
      a++;
    else
      a += 10;
    if (a > 999) break;
  }
}
