#include <bits/stdc++.h>
using namespace std;
long long p[1000], cot = 1;
long long check(long long i) {
  long long ans = 0;
  while (i > 0) {
    ans++;
    i /= 10;
  }
  return ans;
}
int main() {
  for (long long i = 0;;) {
    long long len = check(i + 1);
    long long m = 1;
    for (long long i = 1; i < len; i++) m *= 10;
    i += m;
    p[cot++] = i;
    if (i > 1e18 + 5) break;
  }
  long long n;
  cin >> n;
  for (long long i = 1; i <= n; i++) cout << p[i] << "\n";
  return 0;
}
