#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
const long long INFL = 0x3f3f3f3f3f3f3f3fLL;
const double EPS = 1e-9;
const int DX[] = {1, 0, -1, 0}, DY[] = {0, -1, 0, 1};
int main() {
  long long K;
  cin >> K;
  string s = "";
  int cnt = 1;
  for (long long i = 0; i < (K); i++) {
    if (cnt == 10) {
      s += '9';
      cnt = 1;
    }
    printf("%d%s\n", cnt, s.c_str());
    cnt++;
  }
}
