#include <bits/stdc++.h>
using namespace std;
long long s(long long n);
int main() {
  long long cnt = 0;
  long long k;
  long long n = 0;
  cin >> k;
  for (int i = 0; i <= 15; i++) {
    for (int j = 1; j <= 9; j++) {
      if (cnt == k) return (0);
      n += (long long)pow(10, (double)i);
      cnt++;
      cout << n << endl;
    }
  }
  return (0);
}
long long s(long long n) {
  long long rec = 0;
  while (n) {
    rec += n % 10;
    n /= 10;
  }
  return rec;
}
