#include <bits/stdc++.h>
using namespace std;
long long calc(int i) {
  int order = ((i - 10) / 9) + 1;
  long long base = pow(10, order);
  int tmp = ((i - 10) % 9) + 2;
  return base * tmp;
}
int main() {
  int i, s, K;
  cin >> K;
  for (int i = 1; i < (K); i++) {
    if (i < 10) {
      cout << i << endl;
    } else {
      cout << calc(i) - 1 << endl;
    }
  }
  return 0;
}
