#include using namespace std; using ll = long long; //https://boostjp.github.io/tips/multiprec-int.html #define YES cout<<"Yes"<=0; --i) #define all(a) a.begin(),a.end() #define rall(a) a.rbegin(),a.rend() int main() { int N; cin >> N; vector P = {2, 3, 5, 7, 11, 13, 17, 19, 23}; ll prod = 1; rep(i, N-1) { prod *= P[i]; } cout << prod << ' '; rep(i, N-1) { cout << prod / P[i] << ' '; } }