#include <iostream>
#include <string>
#include <cmath>
#include <algorithm>
#include <vector>
#include <set>
#include <stack>

#define REP(i,n) for(int i = 0; i < (n); ++i)
#define REPC(x,c) for(auto x:(c))
#define FOR(i, b, e) for(int i = (b); i < (e); ++i)
#define VS vector<string>
#define VI vector<int>
#define VVI vector<vector<int>>

#define ll long long

using namespace std;

double s(double n) {
	int n_ = ll(n);
	double sum = 0;
	while (n_ != 0) {
		sum += n_ % 10;
		n_ /= 10;
	}
	return sum;
}

double sunuke(double n) {
	return double(n) / double(s(n));
}


int main() {
	double k;
	cin >> k;

	int c = -1;
	int t = 0;
	REP(i, k) {
		if (i % 9 == 0) { ++c; t = 0; }
		cout << ++t;
		REP(j, c) {
			cout << 9;
		}
		cout << endl;
	}
}