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