#include <bits/stdc++.h>
using namespace std;
const int EPS = 1e-9;
const int MOD = 1e9 + 7;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int k;
  cin >> k;
  string end = "";
  int cnt = 0;
  bool b = true;
  while (b) {
    for (int j = (1); j < (10); j++) {
      cout << j << end << endl;
      if (++cnt == k) {
        b = false;
        break;
      }
    }
    end = end + "9";
  }
  return 0;
}
