#include <bits/stdc++.h>
using namespace std;
long long sumDigit(long long n) {
  long long sum = 0;
  while (n) {
    sum += n % 10;
    n /= 10;
  }
  return sum;
}
int main() {
  int k;
  cin >> k;
  if (k <= 9) {
    for (int i = 0; i < k; ++i) {
      cout << i + 1 << endl;
    }
  } else {
    for (int i = 0; i < 9; ++i) {
      cout << i + 1 << endl;
    }
    long long answer = 9;
    for (int i = 9; i < k; i++) {
      if (answer < 99)
        answer += 10;
      else if (answer < 1999)
        answer += 100;
      else
        answer += 1000;
      cout << answer << endl;
    }
  }
  return 0;
}
