#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  if (k <= 8) {
    for (int i = 1; i <= k; i++) cout << i << endl;
  } else {
    for (int i = 1; i <= 8; i++) cout << i << endl;
    k -= 8;
    int t = 1;
    while (k != 0) {
      cout << t * 10 - 1 << endl;
      k--;
      t++;
    }
  }
  return 0;
}
