#include <bits/stdc++.h>
using namespace std;
const int N = 1e6 + 60;
char buf[20];
int main() {
  int k;
  scanf("%d", &k);
  for (int i = 0; i < k; i++) {
    buf[i / 9] = '9', buf[0] = i % 9 + '1';
    printf("%lld\n", strtoll(buf, nullptr, 10));
  }
  return 0;
}
