#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < n; ++i)
using namespace std;
using ll = long long;
double S(ll n){
	double cnt = 0;
	while(n){
		cnt += n%10;
		n /= 10;
	}
	return cnt;
}
int main() {
	cin.tie(nullptr); ios::sync_with_stdio(false);
	int k; cin >> k;
	ll a = 0, b = 1;
	while(k--){
		a += b;
		cout << a << endl;
		if (b < (a+b)/S(a+b))b *= 10;
	}
}