#include #include #include #include #include using namespace std; int main() { int n,c1=0,c2=0,c3=0,c4=0; cin>>n; char arr[n]; for(int i=0;i>arr[i]; for(int i=0;i=48 && c<=57) c1=1; else if(c>=97 && c<=122) c2=1; else if(c>=65 && c<=90) c3=1; else if(c==33 ||c==35 ||c==36 ||c==37 ||c==38 ||c==40 ||c==41 ||c==43 ||c==45 ||c==64 ||c==94 ) c4=1; } int k=max(4-(c1+c2+c3+c4),6-n); if(k<0) cout<<0; else cout<