#include <bits/stdc++.h>
using namespace std;
const long long MAX_V = 100000;
const long long INF = 1e9;
const long long MOD = 998244353;
int main() {
  long long k;
  cin >> k;
  long long cnt = 1;
  long long i = 1;
  int d = 0;
  while (cnt <= k) {
    string s;
    for (int j = 0; j < (int)(d); ++j) s += '9';
    cout << i << s << endl;
    cnt++;
    i++;
    if (i == 9) {
      i = 1;
      d++;
    }
  }
}
