#include <bits/stdc++.h>
using namespace std;
int main(void) {
  ios::sync_with_stdio(0);
  long long k, count = 0;
  cin >> k;
  for (long long i = 1; count < k && i < 9; i++) {
    cout << i << endl;
    count++;
  }
  for (long long i = 9; count < k; i += 10) {
    cout << i << endl;
    count++;
  }
}
