#include <bits/stdc++.h>
long long n, k;
long sum = 0;
int main() {
  scanf("%lld", &n);
  for (long long i = 1; i <= n; i++) {
    if (i < 10) {
      printf("%lld\n", i);
    } else {
      k = i - 9;
      printf("%lld\n", 2 * (long long)pow(10, k) - 1);
    }
  }
}
