#include <bits/stdc++.h>
using namespace std;
int main() {
  int K;
  cin >> K;
  int count = 0;
  long long keta = 1;
  long long out = 0;
  int flag = 1;
  while (flag) {
    for (int i = 0; i < 9; i++) {
      out += keta;
      cout << out << endl;
      count++;
      if (count == K) flag = 0;
    }
    keta *= 10;
  }
}
