#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  long long k;
  cin >> k;
  long long cou = 0;
  for (long long i = 0; i < k; i++) {
    cou++;
    if (cou % 10 == 0) cou++;
    cout << cou % 10;
    for (int j = 0; j < cou / 10; j++) cout << "9";
    cout << endl;
  }
}
