#include <bits/stdc++.h>
int main() {
  int n, i, temp, k, j;
  int pc, count;
  scanf("%d", &n);
  pc = 2;
  for (i = 1; i <= n; i++) {
    while (1) {
      for (j = 1; j <= pc; j++) {
        if ((pc % j) == 0) {
          count++;
        }
      }
      if (count == 2) {
        temp = pc;
        pc++;
        break;
      } else {
        pc++;
      }
    }
    printf("%d\n", &temp);
  }
  return 0;
}
