#include <bits/stdc++.h>
using namespace std;
int K;
long long ans, nn;
int main() {
  scanf("%d", &K);
  nn = 0;
  while (K--) {
    ans++;
    if (ans == 10) {
      ans = 1;
      nn = nn * 10 + 9;
    }
    if (nn == 0)
      printf("%lld\n", ans);
    else
      printf("%lld%lld\n", ans, nn);
  }
  return 0;
}
