#include <bits/stdc++.h>
const int MOD = 1e9 + 7;
using namespace std;
void TFprint(bool b, std::string T, std::string F) {
  if (b) {
    cout << T << endl;
  } else {
    cout << F << endl;
  }
}
int abs(int x) { return x > 0 ? x : -x; }
int max(int a, int b) { return a > b ? a : b; }
int min(int a, int b) { return a < b ? a : b; }
int main() {
  int K;
  cin >> K;
  for (int(k) = (1); (k) < (K + 1); ++(k)) {
    if (k < 10)
      cout << k << endl;
    else
      cout << k - 9 << '9' << endl;
  }
  return 0;
}
