#include <bits/stdc++.h>
using namespace std;
int main(void) {
  long long N = 0;
  long long A = 0;
  long long K = 0;
  long long Y = 0;
  long long x[10] = {};
  int count = 0;
  long long sum = 0;
  cin >> K;
  long long i = 0;
  while (true) {
    if (i < 9) {
      sum++;
      cout << sum << endl;
    } else if (i < 18) {
      sum += 10;
      cout << sum << endl;
    } else if (i < 27) {
      sum += 100;
      cout << sum << endl;
    } else if (i < 36) {
      sum += 1000;
      cout << sum << endl;
    } else if (i < 45) {
      sum += 10000;
      cout << sum << endl;
    } else if (i < 54) {
      sum += 100000;
      cout << sum << endl;
    } else if (i < 63) {
      sum += 1000000;
      cout << sum << endl;
    } else if (i < 72) {
      sum += 10000000;
      cout << sum << endl;
    } else if (i < 81) {
      sum += 100000000;
      cout << sum << endl;
    } else if (i < 90) {
      sum += 1000000000;
      cout << sum << endl;
    } else if (i < 99) {
      sum += 10000000000;
      cout << sum << endl;
    } else if (i < 108) {
      sum += 100000000000;
      cout << sum << endl;
    } else if (i < 117) {
      sum += 1000000000000;
      cout << sum << endl;
    } else if (i < 126) {
      sum += 10000000000000;
      cout << sum << endl;
    } else if (i < 135) {
      sum += 100000000000000;
      cout << sum << endl;
    } else if (i < 144) {
      sum += 1000000000000000;
      cout << sum << endl;
    } else if (i < 153) {
      sum += 10000000000000000;
      cout << sum << endl;
    }
    i++;
    if (K == i) break;
  }
  return 0;
}
