#include<bits/stdc++.h>
#define reg register
typedef long long ll;
const ll d[]={0,1ll,2ll,3ll,4ll,5ll,6ll,7ll,8ll,9ll,19ll,29ll,39ll,49ll,59ll,69ll,79ll,89ll,99ll,199ll,299ll,399ll,499ll,599ll,699ll,799ll,899ll,999ll,1099ll,1199ll,1299ll,1399ll,1499ll,1599ll,1699ll,1799ll,1899ll,1999ll,2999ll,3999ll,4999ll,5999ll,6999ll,7999ll,8999ll,9999ll,10999ll,11999ll,12999ll,13999ll,14999ll,15999ll,16999ll,17999ll,18999ll,19999ll,20999ll,21999ll,22999ll,23999ll,24999ll,25999ll,26999ll,27999ll,28999ll,29999ll,39999ll,49999ll,59999ll,69999ll,79999ll,89999ll,99999ll,109999ll,119999ll,129999ll,139999ll,149999ll,159999ll,169999ll,179999ll,189999ll,199999ll,209999ll,219999ll,229999ll,239999ll,249999ll,259999ll,269999ll,279999ll,289999ll,299999ll,309999ll,319999ll,329999ll,339999ll,349999ll,359999ll,369999ll,379999ll,389999ll,399999ll,499999ll,599999ll,699999ll,799999ll,899999ll,999999ll,1099999ll,1199999ll,1299999ll,1399999ll,1499999ll,1599999ll,1699999ll,1799999ll,1899999ll,1999999ll,2099999ll,2199999ll,2299999ll,2399999ll,2499999ll,2599999ll,2699999ll,2799999ll,2899999ll,2999999ll,3099999ll,3199999ll,3299999ll,3399999ll,3499999ll,3599999ll,3699999ll,3799999ll,3899999ll,3999999ll,4099999ll,4199999ll,4299999ll,4399999ll,4499999ll,4599999ll,4699999ll,4799999ll,4899999ll,4999999ll,5999999ll,6999999ll,7999999ll,8999999ll,9999999ll,10999999ll,11999999ll,12999999ll,13999999ll,14999999ll,15999999ll,16999999ll,17999999ll,18999999ll,19999999ll,20999999ll,21999999ll,22999999ll,23999999ll,24999999ll,25999999ll,26999999ll,27999999ll,28999999ll,29999999ll,30999999ll,31999999ll,32999999ll,33999999ll,34999999ll,35999999ll,36999999ll,37999999ll,38999999ll,39999999ll,40999999ll,41999999ll,42999999ll,43999999ll,44999999ll,45999999ll,46999999ll,47999999ll,48999999ll,49999999ll,50999999ll,51999999ll,52999999ll,53999999ll,54999999ll,55999999ll,56999999ll,57999999ll,58999999ll,59999999ll,69999999ll,79999999ll,89999999ll,99999999ll,109999999ll,119999999ll,129999999ll,139999999ll,149999999ll,159999999ll,169999999ll,179999999ll,189999999ll,199999999ll,209999999ll,219999999ll,229999999ll,239999999ll,249999999ll,259999999ll,269999999ll,279999999ll,289999999ll,299999999ll,309999999ll,319999999ll,329999999ll,339999999ll,349999999ll,359999999ll,369999999ll,379999999ll,389999999ll,399999999ll,409999999ll,419999999ll,429999999ll,439999999ll,449999999ll,459999999ll,469999999ll,479999999ll,489999999ll,499999999ll,509999999ll,519999999ll,529999999ll,539999999ll,549999999ll,559999999ll,569999999ll,579999999ll,589999999ll,599999999ll,609999999ll,619999999ll,629999999ll,639999999ll,649999999ll,659999999ll,669999999ll,679999999ll,689999999ll,699999999ll,799999999ll,899999999ll,999999999ll,1099999999ll,1199999999ll,1299999999ll,1399999999ll,1499999999ll,1599999999ll,1699999999ll,1799999999ll,1899999999ll,1999999999ll,2099999999ll,2199999999ll,2299999999ll,2399999999ll,2499999999ll,2599999999ll,2699999999ll,2799999999ll,2899999999ll,2999999999ll,3099999999ll,3199999999ll,3299999999ll,3399999999ll,3499999999ll,3599999999ll,3699999999ll,3799999999ll,3899999999ll,3999999999ll,4099999999ll,4199999999ll,4299999999ll,4399999999ll,4499999999ll,4599999999ll,4699999999ll,4799999999ll,4899999999ll,4999999999ll,5099999999ll,5199999999ll,5299999999ll,5399999999ll,5499999999ll,5599999999ll,5699999999ll,5799999999ll,5899999999ll,5999999999ll,6099999999ll,6199999999ll,6299999999ll,6399999999ll,6499999999ll,6599999999ll,6699999999ll,6799999999ll,6899999999ll,6999999999ll,7099999999ll,7199999999ll,7299999999ll,7399999999ll,7499999999ll,7599999999ll,7699999999ll,7799999999ll,7899999999ll,7999999999ll,8999999999ll,9999999999ll,10999999999ll,11999999999ll,12999999999ll,13999999999ll,14999999999ll,15999999999ll,16999999999ll,17999999999ll,18999999999ll,19999999999ll,20999999999ll,21999999999ll,22999999999ll,23999999999ll,24999999999ll,25999999999ll,26999999999ll,27999999999ll,28999999999ll,29999999999ll,30999999999ll,31999999999ll,32999999999ll,33999999999ll,34999999999ll,35999999999ll,36999999999ll,37999999999ll,38999999999ll,39999999999ll,40999999999ll,41999999999ll,42999999999ll,43999999999ll,44999999999ll,45999999999ll,46999999999ll,47999999999ll,48999999999ll,49999999999ll,50999999999ll,51999999999ll,52999999999ll,53999999999ll,54999999999ll,55999999999ll,56999999999ll,57999999999ll,58999999999ll,59999999999ll,60999999999ll,61999999999ll,62999999999ll,63999999999ll,64999999999ll,65999999999ll,66999999999ll,67999999999ll,68999999999ll,69999999999ll,70999999999ll,71999999999ll,72999999999ll,73999999999ll,74999999999ll,75999999999ll,76999999999ll,77999999999ll,78999999999ll,79999999999ll,80999999999ll,81999999999ll,82999999999ll,83999999999ll,84999999999ll,85999999999ll,86999999999ll,87999999999ll,88999999999ll,89999999999ll,99999999999ll,109999999999ll,119999999999ll,129999999999ll,139999999999ll,149999999999ll,159999999999ll,169999999999ll,179999999999ll,189999999999ll,199999999999ll,209999999999ll,219999999999ll,229999999999ll,239999999999ll,249999999999ll,259999999999ll,269999999999ll,279999999999ll,289999999999ll,299999999999ll,309999999999ll,319999999999ll,329999999999ll,339999999999ll,349999999999ll,359999999999ll,369999999999ll,379999999999ll,389999999999ll,399999999999ll,409999999999ll,419999999999ll,429999999999ll,439999999999ll,449999999999ll,459999999999ll,469999999999ll,479999999999ll,489999999999ll,499999999999ll,509999999999ll,519999999999ll,529999999999ll,539999999999ll,549999999999ll,559999999999ll,569999999999ll,579999999999ll,589999999999ll,599999999999ll,609999999999ll,619999999999ll,629999999999ll,639999999999ll,649999999999ll,659999999999ll,669999999999ll,679999999999ll,689999999999ll,699999999999ll,709999999999ll,719999999999ll,729999999999ll,739999999999ll,749999999999ll,759999999999ll,769999999999ll,779999999999ll,789999999999ll,799999999999ll,809999999999ll,819999999999ll,829999999999ll,839999999999ll,849999999999ll,859999999999ll,869999999999ll,879999999999ll,889999999999ll,899999999999ll,909999999999ll,919999999999ll,929999999999ll,939999999999ll,949999999999ll,959999999999ll,969999999999ll,979999999999ll,989999999999ll,999999999999ll,1099999999999ll,1199999999999ll,1299999999999ll,1399999999999ll,1499999999999ll,1599999999999ll,1699999999999ll,1799999999999ll,1899999999999ll,1999999999999ll,2099999999999ll,2199999999999ll,2299999999999ll,2399999999999ll,2499999999999ll,2599999999999ll,2699999999999ll,2799999999999ll,2899999999999ll,2999999999999ll,3099999999999ll,3199999999999ll,3299999999999ll,3399999999999ll,3499999999999ll,3599999999999ll,3699999999999ll,3799999999999ll,3899999999999ll,3999999999999ll,4099999999999ll,4199999999999ll,4299999999999ll,4399999999999ll,4499999999999ll,4599999999999ll,4699999999999ll,4799999999999ll,4899999999999ll,4999999999999ll,5099999999999ll,5199999999999ll,5299999999999ll,5399999999999ll,5499999999999ll,5599999999999ll,5699999999999ll,5799999999999ll,5899999999999ll,5999999999999ll,6099999999999ll,6199999999999ll,6299999999999ll,6399999999999ll,6499999999999ll,6599999999999ll,6699999999999ll,6799999999999ll,6899999999999ll,6999999999999ll,7099999999999ll,7199999999999ll,7299999999999ll,7399999999999ll,7499999999999ll,7599999999999ll,7699999999999ll,7799999999999ll,7899999999999ll,7999999999999ll,8099999999999ll,8199999999999ll,8299999999999ll,8399999999999ll,8499999999999ll,8599999999999ll,8699999999999ll,8799999999999ll,8899999999999ll,8999999999999ll,9099999999999ll,9199999999999ll,9299999999999ll,9399999999999ll,9499999999999ll,9599999999999ll,9699999999999ll,9799999999999ll,9899999999999ll,9999999999999ll,10999999999999ll,11999999999999ll,12999999999999ll,13999999999999ll,14999999999999ll,15999999999999ll,16999999999999ll,17999999999999ll,18999999999999ll,19999999999999ll,20999999999999ll,21999999999999ll,22999999999999ll,23999999999999ll,24999999999999ll,25999999999999ll,26999999999999ll,27999999999999ll,28999999999999ll,29999999999999ll,30999999999999ll,31999999999999ll,32999999999999ll,33999999999999ll,34999999999999ll,35999999999999ll,36999999999999ll,37999999999999ll,38999999999999ll,39999999999999ll,40999999999999ll,41999999999999ll,42999999999999ll,43999999999999ll,44999999999999ll,45999999999999ll,46999999999999ll,47999999999999ll,48999999999999ll,49999999999999ll,50999999999999ll,51999999999999ll,52999999999999ll,53999999999999ll,54999999999999ll,55999999999999ll,56999999999999ll,57999999999999ll,58999999999999ll,59999999999999ll,60999999999999ll,61999999999999ll,62999999999999ll,63999999999999ll,64999999999999ll,65999999999999ll,66999999999999ll,67999999999999ll,68999999999999ll,69999999999999ll,70999999999999ll,71999999999999ll,72999999999999ll,73999999999999ll,74999999999999ll,75999999999999ll,76999999999999ll,77999999999999ll,78999999999999ll,79999999999999ll,80999999999999ll,81999999999999ll,82999999999999ll,83999999999999ll,84999999999999ll,85999999999999ll,86999999999999ll,87999999999999ll,88999999999999ll,89999999999999ll,90999999999999ll,91999999999999ll,92999999999999ll,93999999999999ll,94999999999999ll,95999999999999ll,96999999999999ll,97999999999999ll,98999999999999ll,99999999999999ll,100999999999999ll,101999999999999ll,102999999999999ll,103999999999999ll,104999999999999ll,105999999999999ll,106999999999999ll,107999999999999ll,108999999999999ll,109999999999999ll,119999999999999ll,129999999999999ll,139999999999999ll,149999999999999ll,159999999999999ll,169999999999999ll,179999999999999ll,189999999999999ll,199999999999999ll,209999999999999ll,219999999999999ll,229999999999999ll,239999999999999ll,249999999999999ll,259999999999999ll,269999999999999ll,279999999999999ll,289999999999999ll,299999999999999ll,309999999999999ll,319999999999999ll,329999999999999ll,339999999999999ll,349999999999999ll,359999999999999ll,369999999999999ll,379999999999999ll,389999999999999ll,399999999999999ll,409999999999999ll,419999999999999ll,429999999999999ll,439999999999999ll,449999999999999ll,459999999999999ll,469999999999999ll,479999999999999ll,489999999999999ll,499999999999999ll,509999999999999ll,519999999999999ll,529999999999999ll,539999999999999ll,549999999999999ll,559999999999999ll,569999999999999ll,579999999999999ll,589999999999999ll,599999999999999ll,609999999999999ll,619999999999999ll,629999999999999ll,639999999999999ll,649999999999999ll,659999999999999ll,669999999999999ll,679999999999999ll,689999999999999ll,699999999999999ll,709999999999999ll,719999999999999ll,729999999999999ll,739999999999999ll,749999999999999ll,759999999999999ll,769999999999999ll,779999999999999ll,789999999999999ll,799999999999999ll,809999999999999ll,819999999999999ll,829999999999999ll,839999999999999ll,849999999999999ll,859999999999999ll,869999999999999ll,879999999999999ll,889999999999999ll,899999999999999ll,909999999999999ll,919999999999999ll,929999999999999ll,939999999999999ll,949999999999999ll,959999999999999ll,969999999999999ll,979999999999999ll,989999999999999ll,999999999999999ll,};
int K;
int main(){
	scanf("%d",&K);
	for(reg int i=1;i<=K;i++)printf("%lld\n",d[i]);
	return 0;
}

Measured memory_bytes: 256