#include <bits/stdc++.h>
using namespace std;
int findSumOfDigits(int n) {
  int sum = 0;
  while (n > 0) {
    sum += n % 10;
    n /= 10;
  }
  return sum;
}
int main() {
  long long K;
  cin >> K;
  if (K > 10) K = 10;
  for (long long i = 0; i < K; ++i) {
    long long a = i % 9 + 1;
    long long b = i / 9;
    cout << a;
    for (long long j = 0; j < b; ++j) cout << "9";
    cout << endl;
  }
}
