#include <bits/stdc++.h>
using namespace std;
int main() {
  int T;
  cin >> T;
  if (T <= 8) {
    for (int i = 1; i <= T; i++) {
      cout << i << endl;
    }
    return 0;
  }
  if (T > 8) {
    for (int i = 1; i <= 8; i++) {
      cout << i << endl;
    }
  }
  T = T - 8;
  int u = 9;
  for (int i = 0; i < T; i++) {
    cout << u << endl;
    u += 10;
  }
  return 0;
}
