#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  scanf("%d", &k);
  for (int i = 0; i < 9 && i < k; i++) printf("%d\n", i + 1);
  int cnt = 9;
  unsigned long long int pi = 1;
  unsigned long long int pii = 0;
  while (cnt < k) {
    pii *= 10;
    pii += 9;
    pi *= 10;
    for (int i = 1; i <= 9; i++) {
      unsigned long long int s = pi * i + pii;
      printf("%llu\n", s);
      cnt++;
      if (cnt >= k) break;
    }
    if (cnt >= k) break;
  }
  return 0;
}
