#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5;
const int inf = 1 << 30;
int num[35];
void check() {
  for (int i = 0; i < 35; i++) {
    if (num[i] == 10) {
      num[i] = 0;
      num[i + 1]++;
    }
  }
}
int main() {
  int k = 0;
  memset(num, 0, sizeof(num));
  cin >> k;
  for (int i = 0; i < k; i++) {
    if (num[0] < 9)
      num[0]++;
    else
      num[1]++;
    check();
    bool pos = false;
    for (int i = 34; i >= 0; i--) {
      if (num[i] != 0) pos = true;
      if (pos) cout << num[i];
    }
    cout << endl;
  }
  return 0;
}
