#include <bits/stdc++.h>
using namespace std;
const long long A[] = {1,
                       2,
                       3,
                       4,
                       5,
                       6,
                       7,
                       8,
                       9,
                       19,
                       29,
                       39,
                       49,
                       59,
                       69,
                       79,
                       89,
                       99,
                       199,
                       299,
                       399,
                       499,
                       599,
                       699,
                       799,
                       899,
                       999,
                       1099,
                       1199,
                       1299,
                       1399,
                       1499,
                       1599,
                       1699,
                       1799,
                       1899,
                       1999,
                       2999,
                       3999,
                       4999,
                       5999,
                       6999,
                       7999,
                       8999,
                       9999,
                       10999,
                       11999,
                       12999,
                       13999,
                       14999,
                       15999,
                       16999,
                       17999,
                       18999,
                       19999,
                       20999,
                       21999,
                       22999,
                       23999,
                       24999,
                       25999,
                       26999,
                       27999,
                       28999,
                       29999,
                       39999,
                       49999,
                       59999,
                       69999,
                       79999,
                       89999,
                       99999,
                       109999,
                       119999,
                       129999,
                       139999,
                       149999,
                       159999,
                       169999,
                       179999,
                       189999,
                       199999,
                       209999,
                       219999,
                       229999,
                       239999,
                       249999,
                       259999,
                       269999,
                       279999,
                       289999,
                       299999,
                       309999,
                       319999,
                       329999,
                       339999,
                       349999,
                       359999,
                       369999,
                       379999,
                       389999,
                       399999,
                       499999,
                       599999,
                       699999,
                       799999,
                       899999,
                       999999,
                       1099999,
                       1199999,
                       1299999,
                       1399999,
                       1499999,
                       1599999,
                       1699999,
                       1799999,
                       1899999,
                       1999999,
                       2099999,
                       2199999,
                       2299999,
                       2399999,
                       2499999,
                       2599999,
                       2699999,
                       2799999,
                       2899999,
                       2999999,
                       3099999,
                       3199999,
                       3299999,
                       3399999,
                       3499999,
                       3599999,
                       3699999,
                       3799999,
                       3899999,
                       3999999,
                       4099999,
                       4199999,
                       4299999,
                       4399999,
                       4499999,
                       4599999,
                       4699999,
                       4799999,
                       4899999,
                       4999999,
                       5999999,
                       6999999,
                       7999999,
                       8999999,
                       9999999,
                       10999999,
                       11999999,
                       12999999,
                       13999999,
                       14999999,
                       15999999,
                       16999999,
                       17999999,
                       18999999,
                       19999999,
                       20999999,
                       21999999,
                       22999999,
                       23999999,
                       24999999,
                       25999999,
                       26999999,
                       27999999,
                       28999999,
                       29999999,
                       30999999,
                       31999999,
                       32999999,
                       33999999,
                       34999999,
                       35999999,
                       36999999,
                       37999999,
                       38999999,
                       39999999,
                       40999999,
                       41999999,
                       42999999,
                       43999999,
                       44999999,
                       45999999,
                       46999999,
                       47999999,
                       48999999,
                       49999999,
                       50999999,
                       51999999,
                       52999999,
                       53999999,
                       54999999,
                       55999999,
                       56999999,
                       57999999,
                       58999999,
                       59999999,
                       69999999,
                       79999999,
                       89999999,
                       99999999,
                       109999999,
                       119999999,
                       129999999,
                       139999999,
                       149999999,
                       159999999,
                       169999999,
                       179999999,
                       189999999,
                       199999999,
                       209999999,
                       219999999,
                       229999999,
                       239999999,
                       249999999,
                       259999999,
                       269999999,
                       279999999,
                       289999999,
                       299999999,
                       309999999,
                       319999999,
                       329999999,
                       339999999,
                       349999999,
                       359999999,
                       369999999,
                       379999999,
                       389999999,
                       399999999,
                       409999999,
                       419999999,
                       429999999,
                       439999999,
                       449999999,
                       459999999,
                       469999999,
                       479999999,
                       489999999,
                       499999999,
                       509999999,
                       519999999,
                       529999999,
                       539999999,
                       549999999,
                       559999999,
                       569999999,
                       579999999,
                       589999999,
                       599999999,
                       609999999,
                       619999999,
                       629999999,
                       639999999,
                       649999999,
                       659999999,
                       669999999,
                       679999999,
                       689999999,
                       699999999,
                       799999999,
                       899999999,
                       999999999,
                       1099999999,
                       1199999999,
                       1299999999,
                       1399999999,
                       1499999999,
                       1599999999,
                       1699999999,
                       1799999999,
                       1899999999,
                       1999999999,
                       2099999999,
                       2139999999,
                       2146999999,
                       2147399999,
                       2147479999,
                       2147482999,
                       2147483599,
                       4394967199,
                       4494967199,
                       4594967199,
                       4694967199,
                       4794967199,
                       4894967199,
                       4994967199,
                       5094967199,
                       5194967199,
                       5294967199,
                       5394967199,
                       5494967199,
                       5594967199,
                       5694967199,
                       5794967199,
                       5894967199,
                       5994967199,
                       6094967199,
                       6194967199,
                       6294967199,
                       6394967199,
                       6434967199,
                       6441967199,
                       9589934499,
                       9989934499,
                       10589933999,
                       10689933999,
                       10729933999,
                       10736933999,
                       10737333999,
                       10737413999,
                       13884900999,
                       14884900999,
                       18179868999,
                       19179868999,
                       19279868999,
                       22474835999,
                       23474835999,
                       23574835999,
                       23614835999,
                       23621835999,
                       31064770999,
                       32064770999,
                       32164770999,
                       32204770999,
                       35359737999,
                       36359737999,
                       39654704999,
                       40654704999,
                       43949671999,
                       44949671999,
                       48244639999,
                       49244639999,
                       52539606999,
                       53539606999,
                       61129541999,
                       62129541999,
                       65424508999,
                       66424508999,
                       74014443999,
                       75014443999,
                       75114443999,
                       79309410999,
                       83604377999,
                       87899344999,
                       92194312999,
                       96489279999,
                       109374179999,
                       109474179999,
                       109514179999,
                       109521179999,
                       109521579999,
                       126554049999,
                       139438949999,
                       152323849999,
                       156618819999,
                       173798689999,
                       190978559999,
                       195273519999,
                       208158429999,
                       216748359999,
                       238223199999,
                       255403069999,
                       268287969999,
                       281172869999,
                       302647709999,
                       311237639999,
                       324122539999,
                       367072219999,
                       397136989999,
                       410021889999,
                       414316859999,
                       427201759999,
                       431496719999,
                       452971559999,
                       538870909999,
                       538970909999,
                       539010909999,
                       568935679999,
                       603295419999,
                       611885349999,
                       646245089999,
                       732144439999,
                       732244439999,
                       745029339999,
                       753619269999,
                       775094109999,
                       843813589999,
                       860993449999,
                       903943129999,
                       946892799999,
                       968367639999,
                       1075741799999,
                       1075841799999,
                       1183115999999,
                       1221770699999,
                       1269015299999,
                       1286195199999,
                       1380684499999,
                       1397864299999,
                       1483763699999,
                       1612612699999,
                       1715691899999,
                       1827361099999,
                       1891785599999,
                       1917555399999,
                       1934735199999,
                       2063584299999,
                       2128008799999,
                       2256857799999,
                       2299807499999,
                       2364231999999,
                       2428656499999,
                       2557505499999,
                       2574685399999,
                       2686354499999,
                       2759368999999,
                       2793728699999,
                       2875333099999,
                       3008477099999,
                       3094376399999,
                       3111556299999,
                       3223225399999,
                       3416498999999,
                       3652722199999,
                       3717146699999,
                       3953369899999,
                       4082218899999,
                       4125168599999,
                       4189593099999,
                       4254017599999,
                       4400046499999,
                       4490240799999,
                       4619089799999,
                       4833838199999,
                       5370709099999,
                       5478083299999,
                       5907579999999,
                       6014954199999,
                       6212522699999,
                       6444450899999,
                       7054336299999,
                       7303444399999,
                       7591207199999,
                       7625566899999,
                       7840315299999,
                       8055063599999,
                       8420135899999,
                       9128805499999,
                       9450927999999,
                       9665676399999,
                       9768755599999,
                       9987798899999,
                       10739417999999,
                       10769482999999,
                       11276288999999,
                       11813159999999,
                       12135281999999,
                       12307080999999,
                       12423044999999,
                       12989980999999,
                       13423771999999,
                       13788844999999,
                       13960642999999,
                       14153916999999,
                       14497513999999,
                       14819636999999,
                       15313557999999,
                       15485356999999,
                       16108126999999,
                       17074494999999,
                       17138918999999,
                       18255610999999,
                       18899855999999,
                       19436726999999,
                       20476108999999,
                       20725216999999,
                       21012979999999,
                       21262087999999,
                       22550577999999,
                       24161190999999,
                       24268564999999,
                       24685176999999,
                       25557054999999,
                       25728853999999,
                       26845544999999,
                       27382415999999,
                       27575689999999,
                       27919286999999,
                       28224229999999,
                       28735330999999,
                       29529899999999,
                       30066770999999,
                       30560691999999,
                       31243591999999,
                       32308743999999,
                       34146989999999,
                       35972350999999,
                       36509221999999,
                       37153466999999,
                       37690337999999,
                       38978827999999,
                       40267317999999,
                       40804188999999,
                       41341059999999,
                       42157103999999,
                       42522175999999,
                       43982464999999,
                       44347536999999,
                       45636026999999,
                       46172897999999,
                       46477840999999,
                       49381238999999,
                       53689090999999,
                       54225961999999,
                       54762832999999,
                       55943948999999,
                       57103589999999,
                       59057799999999,
                       59594670999999,
                       67110863999999,
                       67634849999999,
                       70525362999999,
                       72479572999999,
                       73016443999999,
                       74163199999999,
                       74412307999999,
                       77848281999999,
                       78385152999999,
                       80532635999999,
                       80897708999999,
                       84183358999999,
                       86008719999999,
                       87584972999999,
                       91270054999999,
                       93954408999999,
                       94491279999999,
                       96638763999999,
                       98352455999999,
                       99417607999999,
                       101255849999999,
                       104262329999999,
                       107376179999999,
                       107913049999999,
                       109631039999999,
                       112744889999999,
                       113281759999999,
                       116490099999999,
                       120797949999999,
                       121321939999999,
                       121334819999999,
                       123052809999999,
                       126166659999999,
                       126690649999999,
                       129216089999999,
                       129881809999999,
                       131724349999999,
                       134219719999999,
                       134743709999999,
                       135267699999999,
                       137870449999999,
                       139588429999999,
                       139695809999999,
                       140112419999999,
                       141521169999999,
                       147641499999999,
                       147744579999999,
                       158250069999999,
                       161063269999999,
                       165461319999999,
                       170726949999999,
                       173355469999999,
                       188443689999999,
                       201328589999999,
                       206697299999999,
                       207234169999999,
                       212066009999999,
                       212602879999999,
                       221802699999999,
                       223877169999999,
                       225487779999999,
                       241593909999999,
                       242130779999999,
                       255015679999999,
                       255552549999999,
                       260384389999999,
                       268437449999999,
                       268961439999999,
                       273806159999999,
                       274330149999999,
                       275738899999999,
                       277564259999999,
                       285509949999999,
                       287335309999999,
                       295280999999999,
                       300744199999999,
                       335546319999999,
                       340786179999999,
                       341451899999999,
                       359705509999999,
                       369691309999999,
                       371516669999999,
                       389233409999999,
                       394602119999999,
                       402655179999999,
                       403179169999999,
                       408023889999999,
                       409707519999999,
                       413392599999999,
                       421553039999999,
                       423378399999999,
                       430035599999999,
                       442920499999999,
                       448289209999999,
                       456342269999999,
                       456866259999999,
                       461710979999999,
                       469764039999999,
                       470288029999999,
                       473414769999999,
                       493794389999999,
                       536872909999999,
                       542241619999999,
                       547610329999999,
                       577138229999999,
                       590559999999999,
                       595928709999999,
                       603981769999999,
                       604505759999999,
                       671090639999999,
                       676330499999999,
                       676996219999999,
                       695249829999999,
                       705235629999999,
                       724777729999999,
                       738199499999999,
                       738723489999999,
                       743568209999999,
                       745251839999999,
                       757097359999999,
                       778464819999999,
                       791886589999999,
                       792410579999999,
                       805308359999999,
                       872417229999999,
                       877785939999999,
                       883154649999999,
                       912682549999999,
                       926104319999999,
                       939526089999999,
                       940050079999999,
                       944894799999999,
                       966369639999999,
                       981681199999999,
                       983506559999999,
                       994158079999999,
                       998581889999999,
                       998689269999999,
                       999105879999999,
                       999397939999999,
                       999642749999999,
                       999934809999999,
                       999977759999999,
                       999977859999999,
                       999994939999999,
                       999999229999999,
                       999999329999999,
                       999999379999999};
int main() {
  int i;
  int K;
  ios::sync_with_stdio(false);
  cin.tie(0);
  cin >> K;
  for (i = 0; i < K; i++) {
    cout << A[i] << endl;
  }
  return 0;
}
