#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  for (int i = 1; i <= k; ++i) {
    long long num = 0, po = 1;
    int j = i;
    while (j > 9) {
      j -= 9;
      num += po * 9;
      po *= 10;
    }
    num += po * j;
    cout << num << '\n';
  }
}
