#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<ll, ll>;
ll second(ll n) {
  ll ans = 0;
  while (n) {
    ans += n % 10;
    n /= 10;
  }
  return ans;
}
int32_t main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  ll n;
  cin >> n;
  if (n < 9) {
    for (ll i = 1; i <= n; i++) cout << i << "\n";
  } else {
    for (ll i = 1; i <= 9; i++) cout << i << "\n";
    n -= 10;
    for (ll i = 19; i < 100 && n >= 0; i += 10) {
      cout << i << "\n";
      n--;
    }
  }
  return 0;
}
