#include <bits/stdc++.h>
using namespace std;
using ll = long long;
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
int main() {
  ll K;
  cin >> K;
  for (int i = 1; i < 10 && K; i++) {
    cout << i << endl;
    K--;
  }
  int n = 19;
  while (K) {
    cout << n << endl;
    n += 10;
    K--;
  }
  return 0;
}
