#include <bits/stdc++.h>
using namespace std;
const int MOD = 1e9 + 7;
int main() {
  int k;
  cin >> k;
  long long ten_ele = 1, nine = 1;
  for (int i = 0; i < k; i++) {
    if (nine == 10) {
      ten_ele *= 10;
      nine = 1;
    }
    long long ans = nine * ten_ele, tene = 1;
    while (tene < ten_ele) {
      ans += tene * 9;
      tene *= 10;
    }
    cout << ans << endl;
    ++nine;
  }
}
