#include <bits/stdc++.h>
using namespace std;
int S(int n) {
  int s = 0;
  while (n != 0) {
    s += n % 10;
    n = n / 10;
  }
  return s;
}
int main() {
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    if (i <= 9) {
      cout << i << endl;
    } else {
      cout << ((i % 9) == 0 ? 9 : (i % 9)) * pow(10, ((i - 1) / 9)) + 9 << endl;
    }
  }
  return 0;
}
