#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
const int INF = 1e9;
const long long LINF = 1e18;
const long long MOD = 1e9 + 7;
signed main() {
  int k;
  cin >> k;
  vector<string> ans;
  for (int i = 0; i < 15; i++) {
    for (int j = 1; j <= 9; j++) {
      string s;
      s.push_back('0' + j);
      for (int l = 0; l < i; l++) {
        s.push_back('9');
      }
      ans.emplace_back(s);
    }
  }
  for (int i = 0; i < k; i++) {
    cout << ans[i] << endl;
  }
  return 0;
}
