#include <bits/stdc++.h>
using namespace std;
int count(int n) {
  string s = to_string(n);
  int res = 0;
  for (auto c : s) {
    res += c - '0';
  }
  return res;
}
int main() {
  long long k = 0;
  cin >> k;
  int d = 1;
  int pre = 1;
  cout << 1;
  if (k != 1) cout << endl;
  for (int i = 2; i <= k; ++i) {
    if ((pre + d) / count(pre + d) > d) {
      d *= 10;
      pre = pre + d;
      cout << pre;
      if (i != k) cout << endl;
    } else {
      pre = pre + d;
      cout << pre;
      if (i != k) cout << endl;
    }
  }
  return 0;
}
