#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  int b = 0;
  while (k > 9) {
    for (long long int i = 2 * pow(10, b) - 1; i < pow(10, b + 1);
         i = i + pow(10, b)) {
      cout << i << endl;
    }
    k = k - 9;
    b++;
  }
  long long int j = 2 * pow(10, b) - 1;
  while (k > 0) {
    cout << j << endl;
    j = j + pow(10, b);
    k--;
  }
}
