#include using namespace std; #define rep(i,n) for(int i=0;i<(int)(n);i++) #define ALL(v) v.begin(),v.end() typedef long long ll; template using V=vector; template using VV=V>; int main(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); V P={2,3,5,7,11,13,17,19,23}; int n; cin>>n; V S(n); S[0]=1; rep(i,n-1) S[0]*=P[i]; for(int i=1;i