#include <bits/stdc++.h>
using namespace std;
int S(int n) {
  int SN = 0;
  while (n != 0) {
    SN += n % 10;
    n /= 10;
  }
  return SN;
}
int main() {
  int K, SN;
  cin >> K;
  int digit = 1;
  int step = 1;
  while (K > 0) {
    if (digit == 1) {
      cout << digit * step << endl;
    } else {
      if (digit * step - 1 != 9) {
        cout << digit * step - 1 << endl;
      }
    }
    step++;
    if (step % 10 == 0) {
      digit *= 10;
      step = 1;
    }
    K--;
  }
}
