#include <bits/stdc++.h>
const bool debug = false;
using namespace std;
const long long MOD = 1000000007;
int main(void) {
  long long k;
  cin >> k;
  long long cnt = 0;
  long long base = 0;
  while (cnt < k) {
    if (cnt != 0 && cnt % 9 == 0) {
      base *= 10;
      base += 9;
    }
    cout << base + (cnt % 9 + 1) * pow(10LL, (cnt / 9)) << endl;
    cnt++;
  }
  return 0;
}
