#include <bits/stdc++.h>
using namespace std;
int main() {
  long long K;
  cin >> K;
  if (K <= 9) {
    for (int i = 0; i < K; i++) {
      cout << i + 1 << endl;
    }
  } else {
    bool boolean = true;
    for (int i = 1; i <= 9; i++) {
      cout << i << endl;
    }
    int count = 9;
    int countten = 1;
    while (boolean) {
      for (int j = 1; j <= 9; j++) {
        cout << pow(10, countten) * j + pow(10, countten) - 1 << endl;
        count++;
        if (count == K) {
          boolean = false;
          break;
        }
      }
      count++;
      countten++;
    }
  }
}
