#include <bits/stdc++.h>
using namespace std;
const long long int LINF = 1001002003004005006ll;
const int INF = 1001001001;
const int MOD = 1000000007;
int main() {
  vector<long long int> snuke;
  for (int d = 0; d < (20); ++d) {
    long long int r = pow(10, d);
    for (int k = 1; k < 10; ++k) {
      snuke.push_back(r * k + r - 1);
    }
  }
  int K;
  cin >> K;
  for (int i = 0; i < (K); ++i) {
    cout << snuke[i] << endl;
  }
  return 0;
}
