#include <bits/stdc++.h>
int main() {
  float i, j, k, ans, count;
  scanf("%f", &k);
  i = 0;
  count = 0;
  while (count < k) {
    for (j = 1; j < 10; j++) {
      ans = j * pow(10, i);
      if (ans >= 10) {
        ans += pow(10, i) - 1;
      }
      printf("%lld\n", (long long int)ans);
      count++;
      if (count == k) break;
    }
    i++;
  }
  return 0;
}
