#include <bits/stdc++.h>
using namespace std;
int k;
string s;
bool flag;
int main() {
  cin >> k;
  for (int i = 0; i < k; i++) {
    if (s[0] == '9' && s.size() >= 3) {
      s = "1" + s;
      s[1] = '1';
      flag = 1;
    } else if (flag == 1) {
      if (s[1] == '9') {
        s[0]++;
        s[1] = '1';
      } else
        s[1]++;
    } else if (s.size() == 0 || s[0] == '9')
      s = "1" + s;
    else
      s[0]++;
    if (flag && s[1] == '9') {
      if (s.size() - 3 < s[0] - '0') flag = 0;
    }
    cout << s << endl;
  }
}
