#include <bits/stdc++.h>
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;
}
