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