#include <bits/stdc++.h>
using namespace std;
char f[1000] = {0};
int p[200] = {0};
class bignum {
  int dig[100];

 public:
  bignum(int n) {
    for (int i = 0; i < 100; i++) dig[i] = 0;
    int i = 0;
    while (n > 0) {
      dig[i++] = n % 10;
      n = n / 10;
    }
  }
  bignum &operator+=(const bignum &rhs) {
    int carry = 0;
    for (int i = 0; i < 100; i++) {
      dig[i] += rhs.dig[i] + carry;
      if (dig[i] > 9) {
        dig[i] -= 10;
        carry = 1;
      } else {
        carry = 0;
      }
    }
    return *this;
  }
  bignum &operator-=(const bignum &rhs) {
    int carry = 0;
    for (int i = 0; i < 100; i++) {
      if (dig[i] >= rhs.dig[i] + carry) {
        dig[i] -= (rhs.dig[i] + carry);
        carry = 0;
      } else {
        dig[i] = 10 + dig[i] - carry - rhs.dig[i];
        carry = 1;
      }
    }
    return *this;
  }
  const bignum &operator<<=(int s) {
    if (s == 0) return *this;
    for (int i = 99; i > s - 1; i--) dig[i] = dig[i - s];
    for (int i = 0; i < s; i++) dig[i] = 0;
    return *this;
  }
  const bignum operator<<(const int other) const {
    return bignum(*this) <<= other;
  }
  const bignum &operator*=(int d) {
    int carry = 0;
    for (int i = 0; i < 100; i++) {
      dig[i] = dig[i] * d + carry;
      carry = dig[i] / 10;
      dig[i] = dig[i] % 10;
    }
    return *this;
  }
  const bignum operator*(const int other) const {
    return bignum(*this) *= other;
  }
  bignum &operator*=(const bignum &rhs) {
    bignum tmp(0);
    for (int i = 0; i < 100; i++) tmp += (rhs * dig[i]) << i;
    *this = tmp;
    return *this;
  }
  bool operator<(const bignum &other) const {
    for (int i = 99; i >= 0; i--) {
      if (dig[i] < other.dig[i]) return true;
      if (dig[i] > other.dig[i]) return false;
    }
    return false;
  }
  bool operator>(const bignum &other) const { return !(*this < other); }
  const bignum operator+(const bignum &other) const {
    return bignum(*this) += other;
  }
  const bignum operator-(const bignum &other) const {
    return bignum(*this) -= other;
  }
  const bignum operator*(const bignum &other) const {
    return bignum(*this) *= other;
  }
  void print() {
    bool started = false;
    for (int i = 99; i >= 0; i--) {
      started = started || dig[i] != 0;
      if (started) {
        printf("%d", dig[i]);
      }
    }
    if (!started) printf("0");
    printf("\n");
  }
};
int main() {
  int n, k, i, j, c;
  for (i = 2, k = 0; i < 1000; i++)
    if (!f[i]) {
      for (j = 2 * i; j < 1000; j += i) f[j] = 1;
      p[k++] = i;
    }
  scanf("%d", &n);
  if (n == 2) {
    printf("-1");
    return 0;
  }
  for (i = 0; i < n; i++) {
    bignum m(1);
    for (j = 0; j < n; j++)
      if (i != j) m *= bignum(p[j]);
    m.print();
  }
  return 0;
}
