#include <bits/stdc++.h>
using namespace std;
int main() {
  int K;
  cin >> K;
  long long int count = 0;
  while (K != 0) {
    int i = 1;
    while (i <= 9 && K != 0) {
      long long int val = pow(10, count);
      long long int extra = val - 1;
      long long int ans = i * val + extra;
      cout << ans << "\n";
      K--;
      i++;
    }
    count++;
  }
}
