#include <bits/stdc++.h>
using namespace std;
int main() {
  int K;
  long long int a[] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
  scanf("%d", &K);
  for (int i = 0; i < K; i++) {
    printf("%lld\n", a[i % 9]);
    a[i % 9] *= 10;
    a[i % 9] += 9;
  }
  return 0;
}
