#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
const long long inf = 1e18;
void pV(vector<long long> A) {
  cout << "[vector]";
  for (int i = 0; i < A.size(); i++) {
    cout << A[i] << " ";
  }
  cout << endl;
}
long long calcS(long long n) {
  long long sum = 0;
  while (n != 0) {
    sum += n % 10;
    n /= 10;
  }
  return sum;
}
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int K;
  cin >> K;
  long long snuke = 0;
  int unit = 1;
  for (int i = (0); i < (inf); ++i) {
    for (int j = (0); j < (9); ++j) {
      snuke += unit;
      cout << (snuke) << endl;
      K--;
      if (K == 0) {
        return 0;
      }
    }
    unit *= 10;
  }
  return 0;
}
