#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  for (int i = 1; i < 9; i++) {
    cout << i << endl;
  }
  k -= 8;
  for (int i = 1; i <= k; i++) {
    long long tmp;
    int a = i / 9;
    int b = i % 9;
    if (b > 0) {
      double y = a + 1;
      tmp = pow(10, y) * b;
    } else {
      double y = a;
      tmp = pow(10, y) * 9;
    }
    cout << tmp - 1 << endl;
  }
  return 0;
}
