#include <bits/stdc++.h>
using namespace std;
using big = long long;
const int N = 200009;
int s(int x) {
  int sum = 0;
  while (x) {
    sum += x % 10;
    x /= 10;
  }
  return sum;
}
double f(int x) { return 1.0 * x / s(x); }
int main() {
  std::ios_base::sync_with_stdio(false);
  int n;
  cin >> n;
  string base = "";
  int i = 1;
  while (n--) {
    cout << (to_string(i) + base) << endl;
    ++i;
    if (i == 10) {
      base += '9';
      i = 1;
    }
  }
}
