#include <bits/stdc++.h>
using namespace std;
int main() {
  unsigned long long k;
  cin >> k;
  unsigned long long x = 1, c = 1, p = 1;
  for (unsigned long long i = 1; i <= k; i++) {
    cout << x << endl;
    if (c != 9) {
      x += p;
      c++;
    } else {
      p *= 10;
      x += p;
      c = 1;
    }
  }
  return 0;
}
