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