#include <bits/stdc++.h>
using namespace std;
const int N = 1e6 + 60;
int sum(int x) {
  int r = 0;
  for (; x; x /= 10) r += x % 10;
  return r;
}
int main() {
  int k;
  scanf("%d", &k);
  ll ans = 0, x = 1;
  for (int i = 0; i < k; i++) {
    while ((ans + x) * sum(ans + x * 10) >= (ans + x * 10) * sum(ans + x))
      x *= 10;
    ans += x;
    printf("%lld\n", ans);
  }
  return 0;
}
