#include using namespace std; typedef long long int ll; #define debugv(v) printf("L%d %s => ",__LINE__,#v);for(auto e:v){cout< ",__LINE__,#m);for(int x=0;x<(w);x++){cout<<(m)[x]<<" ";}cout< ostream& operator <<(ostream &o,const pair p){o<<"("<> m>>n; vector men(n); for (i=0;i=0 && dp[i-e]0){ if (min==-1) min=i; if (!nprime[i]){sp+=dp[i]-1;} } } if (min==-1){ cout << 0 << endl; return 0; } if (sp==-1){ cout<