#include <bits/stdc++.h>
using namespace std;
int main() {
  long long k;
  cin >> k;
  for (long long i = 1; i <= k; i++) {
    if (i <= 9)
      cout << i;
    else {
      long long p = i - 9;
      cout << 10 * p + 9;
    }
    cout << endl;
  }
}
