#include <bits/stdc++.h>
using namespace std;
double s(int n) {
  int c = n;
  int d = 0;
  while (c > 0) {
    d += (c % 10);
    c /= 10;
  }
  return d;
}
int main() {
  int k;
  scanf("%d", &k);
  int count = 1;
  for (count = 1; count < 10 && count <= k; count++) {
    printf("%d\n", count);
  }
  for (long long int digit = 1; count <= k; digit++) {
    long long int g = pow(10LL, digit);
    for (long long int i = 2; i <= 10 && count <= k; i++) {
      printf("%lld\n", g * i - 1);
      count++;
    }
  }
}
