#include <bits/stdc++.h>
using namespace std;
int main() {
  long long K, N, dig, S;
  long long ans, cnt = 0;
  long long tmp = 19;
  long long keta;
  long long amari;
  cin >> K;
  keta = K / 9;
  amari = K % 9;
  keta--;
  if (K < 10) {
    for (long long i = 1; i <= K; i++) {
      cout << i << endl;
    }
    return 0;
  } else {
    for (long long i = 1; i <= 9; i++) {
      cout << i << endl;
    }
    for (long long j = 1; j <= keta; j++) {
      for (long long i = 1; i <= 9; i++) {
        long long kai = j;
        ans = i;
        while (kai > 0) {
          ans = ans * 10;
          ans += 9;
          kai--;
        }
        cout << ans << endl;
      }
    }
    for (long long i = 1; i <= amari; i++) {
      long long kai = keta + 1;
      ans = i;
      while (kai > 0) {
        ans = ans * 10;
        ans += 9;
        kai--;
      }
      cout << ans << endl;
    }
  }
}
