#include <bits/stdc++.h>
using namespace std;
long long pow(long long n, long long m) {
  long long ans = 1;
  while (m > 0) {
    ans *= n;
    m--;
  }
  return ans;
}
signed main() {
  long long k;
  cin >> k;
  long long counter = 1;
  while (counter <= 8 && k != 0) {
    cout << counter << endl;
    counter++;
    k--;
  }
  for (long long i = 0; i < k; i++) {
    cout << pow(10, ((i / 9) + 1)) * (i % 9 + 1) - 1 << endl;
  }
}
