#include <bits/stdc++.h>
using namespace std;
unsigned long long K;
int main() {
  cin >> K;
  unsigned long long i = 1;
  while (i < 10 && i <= K) {
    cout << i << endl;
    i++;
  }
  while (i <= K) {
    cout << (i - 9) * 10 + 9 << endl;
    i++;
  }
  return 0;
}
