#include <bits/stdc++.h>
using namespace std;
int main() {
  long long K;
  cin >> K;
  cout << setprecision(16);
  long long digit = 0;
  for (long long count = 0; count < K;) {
    for (long long k = 2; k <= 10; k++) {
      cout << k * pow(10, digit) - 1 << endl;
      count++;
      if (count >= K) {
        return 0;
      }
    }
    digit++;
  }
  return 0;
}
