#include <bits/stdc++.h>
using namespace std;
long long S(long long n) {
  long long s = 0;
  while (n) {
    s += n % 10;
    n /= 10;
  }
  return s;
}
int main() {
  long long K;
  string tail = "";
  cin >> K;
  while (1) {
    for (long long i = 1; i < (long long)10; i++) {
      K--;
      cout << i << tail << endl;
      if (!K) {
        return 0;
      }
    }
    tail.push_back('9');
  }
  return 0;
}
