#include <bits/stdc++.h>
using namespace std;
long long aa[16];
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  long long a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w,
      x, y, z;
  cin >> k;
  aa[1] = 1;
  for (int i = (2); i < (16); ++i) aa[i] = aa[i - 1] * 10;
  i = 0;
  p = 1;
  while (i < k) {
    for (int j = (0); j < (10); ++j) {
      if (p == 1)
        cout << j;
      else
        cout << aa[p] * (j + 1) - 1 << "\n";
      i++;
      if (i >= k) break;
    }
    p++;
  }
}
