#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  int count = 0;
  for (int i = 1;; i++) {
    if (i <= 9) {
      cout << i << endl;
      count++;
      if (count == k) break;
    } else if (i % 10 == 9) {
      cout << i << endl;
      count++;
      if (count == k) break;
    } else
      continue;
  }
}
