#include <bits/stdc++.h>
using namespace std;
const int INF = 1001001001;
const long long LINF = 1001001001001001001ll;
const int MOD = 1000000007;
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
int main() {
  int K;
  cin >> K;
  if (K < 10) {
    for (int i = 1; i <= (K); ++i) {
      cout << i << endl;
    }
  } else {
    for (int i = 1; i <= (9); ++i) {
      cout << i << endl;
    }
    K -= 9;
    for (int i = 1; i <= (K); ++i) {
      cout << i * 10 + 9 << endl;
    }
  }
}
