#include using namespace std; string s="!@#$%^&*()-+"; bool find(char p){ for(int a=0;a>n; vector vec(n); for(int a=0;a>vec[a]; bool Upper=false,lower=false,number=false,specal=false; for(int a=0;a=(int)'A'&&(int)vec[a]<=(int)'Z') Upper=true; if((int)vec[a]>=(int)'a'&&(int)vec[a]<=(int)'z') lower=true; if((int)vec[a]>=(int)'0'&&(int)vec[a]<=(int)'9') number=true; if(find(vec[a])) specal=true; } int ans=0; if(Upper) ans++; if(lower) ans++; if(number) ans++; if(specal) ans++; ans=4-ans; int req=6-n; req=ans>req?ans:req; cout<