#include <bits/stdc++.h>
using namespace std;
int main() {
  unsigned long long K;
  cin >> K;
  unsigned long long cnt = 0;
  unsigned long long digit = 1;
  unsigned long long base = 0;
  unsigned long long digitCnt = 1;
  while (cnt < K) {
    if (digitCnt == 10) {
      digit *= 10;
      base = digit - 1;
      digitCnt = 1;
      continue;
    }
    cout << digit * digitCnt + base << endl;
    cnt++;
    digitCnt++;
  }
  return 0;
}
