#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vint = vector<int>;
using pint = pair<int, int>;
const double EPS = 1e-9;
const int inf = numeric_limits<int>::max();
void solve() {
  int K;
  cin >> K;
  int cnt = 0;
  int cry = 0;
  for (int i = 0; i < int(K); ++i) {
    cout << cnt + 1;
    for (int i = 0; i < int(cry); ++i) cout << 9;
    cnt++;
    if (cnt == 9) {
      cnt = 0;
      cry++;
    }
    cout << endl;
  }
}
int main() {
  solve();
  return 0;
}
