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