#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 if (k <= 18) {
    for (int i = 1; i <= 9; i++) cout << i << '\n';
    for (int i = 19; i <= 9 + 10 * (k - 9); i += 10) cout << i << '\n';
  } else {
    for (int i = 1; i <= 9; i++) cout << i << '\n';
    for (int i = 19; i <= 99; i += 10) cout << i << '\n';
    long long num = 199, cnt = 18, plus = 100, beki = 2;
    while (cnt < k) {
      for (int i = 0; i < (9 * beki); ++i) {
        cout << num << '\n';
        num += plus;
        cnt++;
        if (cnt == k) return 0;
      }
      plus *= 10;
      beki++;
    }
  }
  return 0;
}
