#include <bits/stdc++.h>
using namespace std;
long long a[100005];
int main() {
  a[1] = 1;
  for (int i = 2; i <= 100000; ++i) {
    a[i] = a[i - 1] + pow(10, floor(1.0 * (i - 1) / 9));
  }
  int k;
  scanf("%d", &k);
  for (int i = 1; i <= k; ++i) {
    printf("%lld\n", a[i]);
  }
  return 0;
}
