#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int K;
  long long x;
  cin >> K;
  for (int i = 0; i < K; i++) {
    if (i < 9)
      cout << i + 1 << endl;
    else if (i == 9) {
      cout << 19 << endl;
      x = 19;
    } else if (i >= 10 && i <= 17) {
      x += 10;
      cout << x << endl;
    } else if (i >= 18 && i <= 36) {
      x += 100;
      cout << x << endl;
    } else if (i >= 37 && i <= 54) {
      x += 1000;
      cout << x << endl;
    } else if (i >= 55 && i <= 72) {
      x += 10000;
      cout << x << endl;
    } else if (i >= 73 && i <= 90) {
      x += 100000;
      cout << x << endl;
    } else if (i >= 91 && i <= 108) {
      x += 1000000;
      cout << x << endl;
    } else if (i >= 109 && i <= 126) {
      x += 10000000;
      cout << x << endl;
    } else if (i >= 127 && i <= 144) {
      x += 100000000;
      cout << x << endl;
    } else if (i >= 145 && i <= 162) {
      x += 1000000000;
      cout << x << endl;
    } else if (i >= 163 && i <= 180) {
      x += 10000000000;
      cout << x << endl;
    } else if (i >= 181 && i <= 198) {
      x += 100000000000;
      cout << x << endl;
    } else if (i >= 199 && i <= 216) {
      x += 1000000000000;
      cout << x << endl;
    } else if (i >= 217 && i <= 234) {
      x += 10000000000000;
      cout << x << endl;
    } else if (i >= 235 && i <= 242) {
      x += 100000000000000;
      cout << x << endl;
    }
  }
  return 0;
}
