#include <bits/stdc++.h>
using namespace std;
int main() {
  long long K;
  cin >> K;
  long long a[9] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
  for (int i = 0; i < K; i++) {
    cout << a[i % 9] << endl;
    a[i % 9] = a[i % 9] * 10 + 9;
  }
  return 0;
}
