#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[20];
  int n;
  cin >> n;
  for (int i = 1; i < 11; i++) a[i] = i;
  a[10] = 19;
  for (int i = 1; i <= n; i++) cout << a[i] << endl;
  return 0;
}
