#include <bits/stdc++.h>
using namespace std;
int main(void) {
  long long k;
  cin >> k;
  long long ans[k];
  for (int i = 1; i <= (k < 8 ? k : 8); i++) ans[i - 1] = i;
  for (int i = 9; i <= k; i++) {
    long long x = i - 8;
    int initial = (x + 8) % 9 + 1;
    long long digit = (x + 8) / 9;
    ans[i - 1] = initial;
    for (int j = 1; j <= digit; j++) ans[i - 1] *= 10;
    ans[i - 1] -= 1;
  }
  for (int i = 1; i <= k; i++) cout << ans[i - 1] << endl;
}
