#include <bits/stdc++.h>
using namespace std;
template <class T>
void cout_vec(const vector<T> &vec) {
  for (auto itr : vec) cout << itr << ' ';
  cout << '\n';
}
const long long mod = 1e9 + 7;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  long long k;
  cin >> k;
  long long cnt = 1;
  while (k) {
    if (cnt <= 9) {
      cout << cnt << endl;
      cnt++;
      k--;
      continue;
    }
    if (cnt == 10) {
      cnt += 9;
      cout << cnt << endl;
      cnt += 10;
      k--;
      continue;
    }
    cout << cnt << endl;
    cnt += 10;
    k--;
  }
}
