#include <bits/stdc++.h>
using namespace std;
long long MOD = 1000000007;
long long INF = 214748364700000000;
long double EPS = 1e-11;
long double PI = 3.141592653589793238;
template <typename T>
void remove(std::vector<T>& vector, unsigned int index) {
  vector.erase(vector.begin() + index);
}
using Graph = vector<vector<pair<long long, long long>>>;
long long d(long long n) {
  long long res = 0;
  while (n) {
    res += n % 10;
    n /= 10;
  }
  return res;
}
int main() {
  long long K;
  cin >> K;
  if (K <= 9) {
    for (long long i = (long long)0; i < (long long)K; i++)
      cout << i + 1 << endl;
  } else {
    for (long long i = (long long)0; i < (long long)9; i++)
      cout << i + 1 << endl;
    for (long long i = (long long)0; i < (long long)K - 9; i++)
      cout << 10 * (i + 2) - 1 << endl;
  }
}
