#include <bits/stdc++.h>
using namespace std;
unsigned long long i, j, n, m, x;
int main() {
  std::cin.sync_with_stdio(false);
  std::cin.tie(0);
  cin >> n;
  i = 1;
  while (i <= n && i < 10) {
    cout << i << "\n";
    i++;
  }
  m = 9;
  x = 10;
  while (i <= n) {
    m += x;
    cout << m << "\n";
    if (m > 100 && m / x == 19) {
      x *= 10;
    } else if (m <= 100 && m / x == 9) {
      x *= 10;
    }
    i++;
  }
  return 0;
}
