#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  ll k;
  cin >> k;
  ll n = 19, m = 10;
  for (int i = 0; i < (min(9LL, k)); i++) cout << i + 1 << endl;
  for (int i = 0; i < (k - 9); i++) {
    cout << n << endl;
    n += m;
    if (n / m / 10 == 9) m *= 10;
  }
  return 0;
}
