#include <bits/stdc++.h>
using namespace std;
int main() {
  long long K;
  cin >> K;
  long long ans = 0;
  long long base = 1;
  long long inc = 1;
  while (true) {
    ans += inc;
    cout << ans << endl;
    if (--K == 0) break;
    if (ans == (pow(10, base) - 1)) {
      base++;
      inc *= 10;
    }
  }
  return 0;
}
