#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  cin.tie(0);
  ios_base::sync_with_stdio(false);
  ll K;
  cin >> K;
  if (K < 10) {
    for (int cnt = 0; cnt < K; ++cnt) cout << cnt + 1 << '\n';
  } else {
    ll cnt;
    for (cnt = 0; cnt < 9; ++cnt) cout << cnt + 1 << '\n';
    for (ll num = cnt + 10, cnt = 0; cnt < K - 9; num += 10, ++cnt)
      cout << num << '\n';
  }
  return 0;
}
