#include <bits/stdc++.h>
using namespace std;
int main() {
  long long k;
  cin >> k;
  for (int i = 0; i < min(9LL, k); i++) cout << i + 1 << endl;
  if (k <= 9) return 0;
  long long result = 9;
  k -= 9;
  while (k > 0) {
    result += 10;
    cout << result << endl;
    k -= 1;
  }
  return 0;
}
