#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int aux = 19;
  int k;
  cin >> k;
  for (int i = 1; i <= 9 && k; i++) {
    printf("%d\n", i);
    k--;
  }
  for (long long int i = 1; k; i *= 10) {
    long long int temp = i * aux;
    temp += i - 1;
    printf("%lld\n", temp);
    k--;
  }
}
