#include <bits/stdc++.h>
using namespace std;
long long power(long long x, long long y, long long p) {
  long long res = 1;
  x = x % p;
  while (y > 0) {
    if (y & 1) res = (res * x) % p;
    y = y >> 1;
    x = (x * x) % p;
  }
  return res;
}
long long modi(long long a, long long m) { return power(a, m - 2, m); }
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  vector<long long> v;
  long long a = 10;
  long long b = 9;
  for (long long i = 1; i <= 9; i++) v.push_back(i);
  for (long long j = 19; j <= 99; j += 10) v.push_back(j);
  long long k;
  cin >> k;
  if (k <= 18) {
    for (long long i = 0; i < k; i++) {
      cout << v[i] << endl;
    }
  } else {
    k = k - 18;
    long long last = 99;
    long long to_add = 100;
    long long times = (a + b);
    a = b;
    b = times;
    while (k--) {
      last += to_add;
      times--;
      if (times == 0) {
        to_add *= 10;
        times = a + b;
        a = b;
        b = times;
      }
      v.push_back(last);
    }
    for (auto c : v) {
      cout << c << endl;
    }
  }
  return 0;
}
