#include <bits/stdc++.h>
using namespace std;
map<long long, long long> mp;
vector<long long> v;
int main() {
  mp[10ll] = 10ll;
  mp[100ll] = 100ll;
  mp[2000ll] = 1000ll;
  mp[30000ll] = 10000ll;
  mp[400000ll] = 100000ll;
  mp[5000000ll] = 1000000ll;
  mp[60000000ll] = 10000000ll;
  mp[700000000ll] = 100000000ll;
  mp[8000000000ll] = 1000000000ll;
  mp[90000000000ll] = 10000000000ll;
  mp[1000000000000ll] = 100000000000ll;
  mp[11000000000000ll] = 1000000000000ll;
  mp[120000000000000ll] = 10000000000000ll;
  mp[1300000000000000ll] = 100000000000000ll;
  long long x = 1;
  long long add = 1;
  while (x <= 1e15) {
    x += add;
    v.push_back(x - 1);
    if (mp.count(x)) add = mp[x];
  }
  int k;
  cin >> k;
  for (int i = 0; i < k; i++) {
    cout << v[i] << endl;
  }
  return 0;
}
