#include <bits/stdc++.h>
using namespace std;
const int inf = 999999999;
const int mod = 1000000007;
const int dx[4] = {1, 0, -1, 0}, dy[4] = {0, 1, 0, -1};
int main() {
  long long k;
  cin >> k;
  long long p[9] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
  long long a[9] = {9,      99,      999,      9999,     99999,
                    999999, 9999999, 99999999, 999999999};
  vector<long long> v(p, p + 9);
  for (int i = (0); i < ((9)); i++) {
    for (int j = (1); j < (10); j++) {
      int t = 10;
      for (int q = (0); q < ((i)); q++) {
        t *= 10;
      }
      v.push_back(a[i] + j * t);
    }
  }
  for (int i = (0); i < ((k - v.size())); i++) {
    v.push_back(a[8] * 10 + 9 + (i + 1) * 10000000000);
  }
  for (int i = (0); i < ((k)); i++) {
    cout << v[i] << endl;
  }
}
