#include <bits/stdc++.h>
using namespace std;
int main() {
  long long k;
  cin >> k;
  long long result = 19;
  long long ten = 10;
  int count = 0;
  if (k < 10) {
    for (int i = 1; i <= k; i++) cout << i << endl;
    exit(0);
  }
  for (int i = 1; i < 10; i++) cout << i << endl;
  for (int i = 0; i <= k - 10; i++) {
    cout << result << endl;
    count++;
    result += ten;
    if (count > 8) {
      count = 0;
      result += ten * 9;
      ten *= 10;
    }
  }
}
