#include <bits/stdc++.h>
using namespace std;
static const long long INF = 1e18;
static const long long MAX = 101010;
static const long long MOD = 1e9 + 7;
static const long long LOGN = 55;
int main(void) {
  long long K;
  cin >> K;
  long long i;
  for (i = 1; i <= min(K, 9LL); i++) cout << i << "\n";
  if (K <= 9) return 0;
  long long cnt = 10;
  for (i = 19; cnt <= K; i += 10, cnt++) {
    cout << i << "\n";
  }
}
