#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1e9 + 7;
const long long INF = 1e9;
const long long IINF = 1e18;
const double EPS = 1e-8;
const double pi = acos(-1);
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() {
  long long K;
  cin >> K;
  while (K > 0) {
    long long i = 1;
    while (K > 0) {
      for (long long j = 2; j <= 10; ++j) {
        cout << i * j - 1 << endl;
        --K;
        if (K == 0) break;
      }
      i *= 10;
    }
  }
}
