
#include <iostream>
#include <vector>
#include <queue>
#include <algorithm>
#include <complex>

#define forin(i, f, t) for(auto i = f; i < t; i++)

using namespace std;
using ll = long long;


int main() {
    ll k;
    cin >> k;
    ll count = 0;
    ll n = 1;
    
    while (count < k) {
        cout << n << endl;
        count++;
        if (n < 9) {
            n++;
        } else {
            n += 10
        }
    }
    
    return 0;
}

