#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  if (n == 2) return cout << -1, 0;
  string s[2] = {"30", "70"};
  cout << 21 << '\n' << s[0] << '\n' << s[1] << '\n';
  for (int i = 4; i <= n; i++) s[i % 2] += '0', cout << s[i % 2] << '\n';
}
