#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ll k;
  cin >> k;
  ll cnt = 1;
  for (cnt; cnt <= min(k, (ll)9); cnt++) {
    cout << cnt << "\n";
  }
  if (cnt > k) return 0;
  ll tmp = 9;
  while (cnt <= k) {
    tmp += 10;
    cout << tmp << "\n";
    cnt++;
  }
}
