#include <bits/stdc++.h>
using namespace std;
signed main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  long long k;
  cin >> k;
  if (k <= 9) {
    for (int i = 1; i <= k; i++) cout << i << '\n';
  } else {
    for (int i = 1; i <= 9; i++) cout << i << '\n';
    long long num = 19, cnt = 9, plus = 10;
    while (cnt < k) {
      cout << num << '\n';
      num += plus;
      cnt++;
      if (num % 9 == 0) plus *= 10;
    }
  }
  return 0;
}
