#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  int k;
  cin >> k;
  for (int i = 1; i <= k; i++) {
    string r = "";
    int j = (i % 9);
    if (j == 0) j = 9;
    int basamak_sayisi = ceil((double)i / 9.0);
    for (int k = 0; k < basamak_sayisi - 1; k++) {
      r += '9';
    }
    r += char(j + '0');
    reverse(r.begin(), r.end());
    cout << r << endl;
  }
  return 0;
}
