#include <bits/stdc++.h>
using namespace std;
using ll = long long;
ll Mod = 1000000007;
int main() {
  ll K;
  cin >> K;
  for (ll i = 1; i <= K; i++) {
    char s = i % 9 + '0';
    if (s == '0') s = '9';
    string ans = "";
    ans += s;
    ans += string((i - 1) / 9, '9');
    cout << ans << endl;
  }
  return 0;
}
