#include<stdio.h>
#include<math.h>
long long n,k;
long sum = 0;
int main() {
	scanf_s("%lld",&n);
	for (long long i = 1; i <= n; i++) {
		if(i <10){
			printf("%lld\n", i);
		}
		else {
			k = i - 8;
			printf("%lld\n", 2 * (long long)pow(10, k) - 1);
		}
	}
}