#include <bits/stdc++.h>
using namespace std;
signed main(void) {
  long long K;
  cin >> K;
  if (K <= 8) {
    for (long long i = 1; i <= K; i++) cout << i << endl;
  } else {
    for (long long i = 1; i <= 8; i++) cout << i << endl;
    long long rest = K - 8;
    for (long long i = 1; i <= rest; i++) {
      long long power_10 = 1;
      long long idx = i;
      while (idx > 9) {
        power_10++;
        idx -= 9;
      }
      cout << (long long)(idx * pow(10, power_10) - 1) << endl;
    }
  }
}
