#include <bits/stdc++.h>
using namespace std;
long long n;
signed main() {
  cin >> n;
  for (long long i = 1; i <= n; i++) {
    string ans = "";
    long long j;
    for (j = i; j >= 9; j -= 9) {
      ans = ans + "9";
    }
    if (j) cout << j;
    cout << ans << endl;
  }
  return 0;
}
