#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int S(ll n) {
  int cnt = 0;
  while (n) {
    cnt += n % 10;
    n /= 10;
  }
  return cnt;
}
ll sn(int a, int b) { return (a + b) / S(a + b); }
int main() {
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  int k;
  cin >> k;
  ll a = 0, b = 1;
  while (k--) {
    a += b;
    cout << a << endl;
    if (b < sn(a, b)) b *= 10;
  }
}
