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