#include <bits/stdc++.h>
using namespace std;
int main() {
  unsigned long long k;
  cin >> k;
  unsigned long long ck = 0;
  unsigned long long out = 0;
  for (unsigned long long i = 1; ck < k; i *= 10) {
    for (int j = 1; j <= 9 && ck < k; j++) {
      if (i >= 1000 && j == 1) {
        cout << out % (i / 10) + i << endl;
      }
      out += (i * 1);
      cout << out << endl;
      ck++;
    }
  }
  return 0;
}
