#include <bits/stdc++.h>
using namespace std;
int main() {
  complex<long double> cmpmp;
  const long long int mod = 1000000007;
  map<long long int, long long int> mp;
  long long int N, A, B, h[200] = {}, left = 0, right = 1000000000, bomb,
                         sum[15] = {};
  string str;
  cin >> N;
  for (int i = 0; i < 20; i++) {
    for (int j = 1; j < 10; j++) {
      cout << j;
      for (int k = 0; k < i; k++) {
        cout << 9;
      }
      N--;
      cout << endl;
      if (N == 0) {
        return 0;
      }
    }
  }
}
