#include <iostream>
#include <cstdio>
#include <algorithm>
#include <cmath>
#include <cstring>
using namespace std;
 
int main() {
        int i=1;
	for (i = 1; i <= n and i <= 9; i++) {
			printf("%lld\n", i);
	}
	
	
	int j = 1;
	for (; i <= n and j <= 9; i++) {
		printf("%d9\n", j++);
	}
	
	j = 1;
	for (; i <= n and j <= 19; i++) {
		printf("%d99\n", j++);
	}
	
	j = 2;
	for (; i <= n and j <= 29; i++) {
		printf("%d999\n", j++);
	}
	
	j = 3;
	for (; i <= n and j <= 39; i++) {
		printf("%d9999\n", j++);
	}
	
	j = 4;
	for (; i <= n and j <= 49; i++) {
		printf("%d99999\n", j++);
	}
	
	j = 5;
	for (; i <= n and j <= 59; i++) {
		printf("%d999999\n", j++);
	}
	
	j = 6;
	for (; i <= n and j <= 69; i++) {
		printf("%d9999999\n", j++);
	}
	
	j = 7;
	for (; i <= n and j <= 79; i++) {
		printf("%d99999999\n", j++);
	}
	
	
	j = 8;
	for (; i <= n and j <= 89; i++) {
		printf("%d999999999\n", j++);
	}
	
	
	j = 9;
	for (; i <= n and j <= 99; i++) {
		printf("%d9999999999\n", j++);
	}
	
	j = 10;
	for (; i <= n and j <= 99; i++) {
		printf("%d99999999999\n", j++);
	}
	
	j = 10;
	for (; i <= n and j <= 109; i++) {
		printf("%d999999999999\n", j++);//12 g 9
	}
	
	j = 11;
	for (; i <= n and j <= 109; i++) {
		printf("%d9999999999999\n", j++);
	}
	
	j = 11;
	for (; i <= n and j <= 99; i++) {
		printf("%d99999999999999a\n", j++);
	}
	
	j = 10;
	for (; i <= n and j <= 109; i++) {
		printf("%d99999999999\n", j++);
	}
	
	j = 11;
	for (; i <= n and j <= 119; i++) {
		printf("%d999999999999\n", j++);
	}
	
	
	
	j = 12;
	for (; i <= n and j <= 129; i++) {
		printf("%d9999999999999\n", j++);
	}
	
	
	j = 13;
	for (; i <= n and j <= 139; i++) {
		printf("%d99999999999999\n", j++);
	}
	return 0;
}