#include <bits/stdc++.h>
using namespace std;
template <class T>
bool chmax(T &a, const T &b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
bool chmin(T &a, const T &b) {
  if (b < a) {
    a = b;
    return true;
  }
  return false;
}
const int INF =
    sizeof(int) == sizeof(long long) ? 0x3f3f3f3f3f3f3f3fLL : 0x3f3f3f3f;
const int MOD = (int)1e9 + 7;
const double EPS = 1e-9;
signed main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int K;
  int c = 0;
  int n = 1;
  cin >> K;
  while (true) {
    for (int i = (1), i_len = (10); i < i_len; i++) {
      cout << n * (i + 1) - 1 << endl;
      c++;
      if (c == K) {
        return 0;
      }
    }
    n *= 10;
  }
  return 0;
}
