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