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