#include <bits/stdc++.h>
using namespace std;
static const long long maxLL = (long long)1 << 62;
const long long MOD = 1000000007;
const long long INF = 1e18;
const double PI = 3.14159265359;
int ca[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
signed main() {
  long long k;
  cin >> k;
  long long cnt = 0;
  for (int i = 1; i <= 9 && i <= k; i++) {
    cout << i << endl;
    cnt++;
  }
  if (cnt < k) {
    for (long long i = 19; cnt < k; i += 10) {
      cout << i << endl;
      cnt++;
    }
  }
  return 0;
}
