#include <bits/stdc++.h>
using namespace std;
int main() {
  long long k;
  cin >> k;
  long long cnt = 1, p = 1;
  int tens = 1;
  int xx = 0;
  while (cnt <= k) {
    if (p == 10) {
      p -= 9;
      tens *= 10;
      xx++;
    }
    if (cnt <= 9)
      cout << cnt << endl;
    else {
      cout << p;
      for (int i = 0; i < xx; i++) cout << 9;
      cout << endl;
    }
    cnt++;
    p++;
  }
}
