#include <bits/stdc++.h>
using namespace std;
int main()
{
    using ll = long long;
    ll k;
    cin >> k;

    if(k <= 9)
    {
        for(int i = 1; i <= min(k, 9); i++)
        {
            cout << i << endl;
        }
        return 0;
    }
    ll t = 9;
    k -= 9;
    ll d = 10;
    while(k != 0)
    {
        for(int i = 1; i <= 9; i++)
        {

            t += d;
            cout << t << endl;
            k--;
            if(k == 0) break;
        }
        d *= 10;
    }
}

