#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
const int INF = 1e9 + 1;
const int LLINF = 1e18 + 1;
int main() {
  ll K;
  cin >> K;
  ll car = 0;
  while (true) {
    string s(car, '9');
    for (int j = 1; j <= 9; j++) {
      cout << j << s << endl;
      K--;
      if (K <= 0) return 0;
    }
    car++;
  }
  return 0;
}
