#include <bits/stdc++.h>
using namespace std;
int solve(long long K) {
  if (K <= 10) {
    for (int i = 1; i <= K; i++) {
      cout << i << endl;
    }
    return 0;
  }
  for (int i = 1; i <= 10; i++) {
    cout << i << endl;
  }
  for (int i = 1; i <= K - 10; i++) {
    cout << 10 * i + 9 << endl;
  }
}
int main() {
  long long K;
  scanf("%lld", &K);
  solve(K);
  return 0;
}
