#include <bits/stdc++.h>
using namespace std;
int imax = 2147483647;
long long int llimax = 9223372036854775807;
void PV(vector<int> pvv) {
  for (int i = 0; i < (int)(pvv.size()); i++) cout << pvv[i] << " ";
  cout << endl;
}
void PVL(vector<long long int> pvv) {
  for (int i = 0; i < (int)(pvv.size()); i++) cout << pvv[i] << " ";
  cout << endl;
}
int main() {
  int k, ans = 0;
  string s = "0";
  cin >> k;
  for (int i = 0; i < (int)(k); i++) {
    if (s[0] != '9')
      s[0]++;
    else
      s = "1" + s;
    cout << s << endl;
  }
  return 0;
}
