#include <bits/stdc++.h>
using namespace std;
int main() {
  long long K;
  cin >> K;
  int j = 0;
  while (K > 0) {
    for (int i = 0; i < 9 && K > 0; i++) {
      cout << 2 * (long long)pow(10, j) - 1 + i * (long long)pow(10, j) << endl;
      K--;
    }
    j++;
  }
  return 0;
}
