#include <bits/stdc++.h>
using namespace std;
int N;
long long p10[18];
int main() {
  scanf("%d", &N), *p10 = 1;
  for (int i = 1; i < 18; ++i) p10[i] = p10[i - 1] * 10;
  for (int i = 1; i <= N; ++i) printf("%lld\n", p10[i / 9] * (i % 9 + 1) - 1);
  return 0;
}
