#include <bits/stdc++.h>
using namespace std;
int main() {
  int K;
  cin >> K;
  int count = 0;
  for (int i = 1; i < 10; ++i) {
    count++;
    cout << i << '\n';
    if (count >= K) return 0;
  }
  int base = 1;
  for (int k = 0; k < 15; ++k) {
    for (int j = 1; j < 10; ++j) {
      count++;
      cout << (j * 10 + 9) * base << '\n';
      if (count == K) return 0;
    }
    base *= 10;
  }
  return 0;
}
