#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  for (int i = 1; i <= n && i < 10; i++) cout << i << endl;
  if (n - 9 > 0) {
    n = n - 9;
    for (int i = 1; i <= n && i < 10; i++) cout << i << "9\n";
  }
  if (n - 9 > 0) {
    n = n - 9;
    for (int i = 1; i <= n && i < 10; i++) cout << i << "99\n";
  }
  if (n - 9 > 0) {
    n = n - 9;
    int s = 0;
    for (int i = 2; s < n; i++) {
      for (int j = 10; j <= 99 && s < n; j++) {
        printf("%d", j);
        for (int k = 0; k < i; k++) printf("9");
        printf("\n");
        s++;
      }
    }
  }
  return 0;
}
