#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
ll S(ll n) {
  ll ret = 0;
  string str = to_string(n);
  for (ll i = 0; i < (ll)str.size(); ++i) {
    ret += str.c_str()[i] - '0';
  }
  return ret;
}
int main() {
  cin.tie(0);
  ios::sync_with_stdio(0);
  ll K;
  cin >> K;
  ll cnt = 0;
  for (ll i = 1;; ++i) {
    if (i % 10 == 0) continue;
    cout << i % 10;
    for (ll j = 0; j < i / 10; ++j) {
      cout << 9;
    }
    cout << endl;
    cnt++;
    if (cnt == K) break;
  }
}
