#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, j, k, n, m;
  cin >> k;
  if (k <= 8) {
    for (i = 1; i <= k; i++) cout << i << endl;
  } else {
    for (i = 1; i <= 8; i++) cout << i << endl;
    k -= 8;
    for (i = 1; i <= k; i++) cout << i * 10 - 1 << endl;
  }
}
