#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  long long print = 19;
  long long inc = 10;
  for (int i = 1; i <= k; i++) {
    if (i < 10) {
      cout << i << "\n";
    } else {
      cout << print << "\n";
      if (i % 9 == 0) {
        inc *= 10;
      }
      print += inc;
    }
  }
}
