#include <bits/stdc++.h>
using namespace std;
int dx[4] = {1, -1, 0, 0};
int dy[4] = {0, 0, 1, -1};
long long int func(long long int n, int a) {
  int res = 0;
  while (n > 0) {
    res += n % a;
    n /= a;
  }
  return res;
}
int main() {
  std::ios::sync_with_stdio(false);
  std::cin.tie(0);
  long long int k;
  cin >> k;
  long long int a[18] = {1,  2,  3,  4,  5,  6,  7,  8,  9,
                         19, 29, 39, 49, 59, 69, 79, 89, 99};
  if (k <= 18) {
    for (long long int i = 0; i < k; i++) {
      cout << (a[i]) << "\n";
    }
    return 0;
  }
  for (long long int i = 0; i < 18; i++) {
    cout << (a[i]) << "\n";
  }
  for (long long int i = 1; i <= k - 18; i++) {
    cout << i << "99"
         << "\n";
  }
  return 0;
}
