#include <bits/stdc++.h>
using namespace std;
const int N = 2e6 + 5;
const long long M = 1e9 + 7;
const long long inf = 1e18 + 5;
long long power(long long pr) {
  long long res = 1;
  for (long long i = 1; i <= pr; i++) res *= 10;
  return res;
}
long long nd(long long inc) {
  long long ans = -1;
  for (long long i = inc; i > 0; i /= 10) {
    ans++;
  }
  return ans;
}
int main() {
  long long k;
  scanf("%lld", &k);
  long long inc = 1;
  for (long long i = 1; i <= k; i++) {
    if (i < 10)
      printf("%lld\n", i);
    else {
      printf("%lld9\n", inc);
      long long val = power(nd(inc));
      inc += val;
    }
  }
}
