#include <bits/stdc++.h>
using namespace std;
const int inf = 1e9 + 7;
const long long longinf = 1LL << 60;
const long long mod = 1e9 + 7;
using namespace std;
int main() {
  long long k;
  cin >> k;
  long long count = 1;
  long long subcount = 0;
  long long i = 1;
  while (count <= k) {
    cout << i << endl;
    if (count % 9 == 0) {
      i *= 2;
      i++;
      subcount++;
    } else {
      i += pow(10, subcount);
    }
    count++;
  }
  return 0;
}
