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