#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 = 0;
  while (k--) {
    cout << a + 1;
    for (int i = (int)(0); i < (int)(num); ++i) cout << 9;
    cout << endl;
    if (a == 8) num++;
    a = (a + 1) % 9;
  }
}
