#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  int cnt = 0;
  for (int i = 0; i < 9; i++) {
    cout << i + 1 << endl;
    cnt++;
    if (cnt == k) return 0;
  }
  int i = 1;
  while (true) {
    cout << i << 9 << endl;
    i++;
    cnt++;
    if (cnt == k) return 0;
  }
}
