#include <bits/stdc++.h>
using namespace std;
int main() {
  int K;
  cin >> K;
  int cur = 1;
  int n = 0;
  for (int i = 0; i < K; i++) {
    if ((n + 1) / cur >= 10) {
      cur *= 10;
    }
    n += cur;
    cout << n << endl;
  }
}
