#include using namespace std; using Int = long long; Int isprime(Int x){ if(x<=1) return 0; for(Int i=2;i*i<=x;i++) if(x%i==0) return 0; return 1; } //INSERT ABOVE HERE signed main(){ vector ps; for(Int i=5;ps.size()<100u;i++) if(isprime(i)) ps.emplace_back(i); Int k; cin>>k; if(!k){ cout<<1<