#include <bits/stdc++.h>
using namespace std;
int main() {
  int K;
  int cnt = 0;
  char tmp = '1';
  string s = "";
  cin >> K;
  while (cnt < K) {
    if (tmp == '1')
      s = tmp + s;
    else
      s[0] = tmp;
    cout << s << endl;
    ++tmp;
    ++cnt;
    if (tmp - '0' == 10) tmp = '1';
  }
}
