#include <bits/stdc++.h>
using namespace std;
int main() {
  long a, b, S = 0;
  long K;
  long m = 10;
  double c;
  int i = 1, idx = 0;
  cin >> K;
  while (idx < K) {
    if (i < 10) {
      cout << i << endl;
      idx++;
    } else if (i % 10 == 9) {
      cout << i << endl;
      idx++;
    }
    i++;
  }
}
