#include <bits/stdc++.h>
#pragma GCC optimize("O3")
using namespace std;
enum { MOD0 = 1000000000, MOD7 = 1000000007, MOD9 = 1000000009 };
void gen(int k) {
  long long cur = 1;
  long long pw10 = 1;
  while (k--) {
    cout << cur << '\n';
    cur += pw10;
    if (cur == 10 * pw10) {
      pw10 *= 10;
      cur += pw10 - 1;
    }
  }
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  int k;
  cin >> k;
  gen(k);
  return 0;
}
