#include <bits/stdc++.h>
using namespace std;
long long s(long long n) {
  if (0 <= n && n < 10)
    return n;
  else
    return s(n / 10) + n % 10;
}
int main() {
  long long k;
  cin >> k;
  long long count = 0;
  for (long long i = 0; i < (18); i++) {
    for (long long a = 0; a < (9); a++) {
      if (a == 0 && i == 0) continue;
      cout << (pow(10, i) * (1 + a) - 1) << endl;
      count++;
      if (count >= k) return 0;
    }
  }
}
