#include <bits/stdc++.h>
int main(void) {
  int a, i;
  long long int m, n = 1LL;
  scanf("%d", &a);
  for (i = 0; i < a; i++) {
    printf("%lld\n", n);
    n++;
    m = n;
    if (m % 10 == 0) n = n + 9;
    if (m % 100 == 0) n = n + 90;
    if (m % 1000 == 0) n = n + 900;
    if (m % 10000 == 0) n = n + 9000;
    if (m % 100000 == 0) n = n + 90000;
    if (m % 1000000 == 0) n = n + 900000;
    if (m % 10000000 == 0) n = n + 9000000;
    if (m % 100000000 == 0) n = n + 90000000;
    if (m % 1000000000 == 0) n = n + 900000000;
    if (m % 10000000000 == 0) n = n + 9000000000;
    if (m % 100000000000 == 0) n = n + 90000000000;
    if (m % 1000000000000 == 0) n = n + 900000000000;
    if (m % 10000000000000 == 0) n = n + 9000000000000;
    if (m % 100000000000000 == 0) n = n + 90000000000000;
    if (m % 1000000000000000 == 0) n = n + 900000000000000;
    if (m % 10000000000000000 == 0) n = n + 9000000000000000;
  }
  return 0;
}
