#include <bits/stdc++.h>
using namespace std;
long long K;
int main() {
  cin >> K;
  for (long long T = 1; T <= K; T++) {
    long long p = T;
    string ans = "";
    while (1) {
      if (p <= 9) {
        ans += ('0' + p);
        break;
      } else {
        ans += '9';
        p -= 9;
      }
    }
    reverse(ans.begin(), ans.end());
    cout << ans << endl;
  }
  return 0;
}
