#include <bits/stdc++.h>
using namespace std;
int main() {
  long long K;
  cin >> K;
  string x;
  long long n = K / 9;
  long long m = K % 9;
  for (long long i = 0; i <= n; i++) {
    long long k = (i == n) ? m : 9;
    for (long long j = 1; j <= k; j++) cout << j << x << endl;
    x += "9";
  }
  return 0;
}
