#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  string curr("1");
  string temp = "";
  int prev(1);
  int cur(1);
  for (int i = 1; i <= k; i++) {
    cout << curr + temp << "\n";
    if (curr[0] + 1 == ':') {
      temp += "9";
    }
    if (curr[0] == '9') {
      curr[0] = '1';
    } else {
      curr[0] += 1;
    }
  }
  return 0;
}
