#include #define li long long int using namespace std; int main() { li n; cin>>n; string s; cin>>s; int ctr=0,ctr1=0,ctr2=0, ctr3=0; for(int i=0;i= 0 && ((int)(s[i])-48) <=9 ) ctr=1; else if((s[i])>= 97 && (s[i]) <=122 ) ctr1=1; else if((s[i])>= 65 && (s[i]) <=90 ) ctr2=1; else if((s[i])=='!' ||(s[i])=='$' ||(s[i])=='@' || (s[i])=='#'||(s[i])=='%' ||(s[i])=='&'||(s[i])=='^' ||(s[i])=='*' ||(s[i])=='('||(s[i])==')'||(s[i])=='-' ||(s[i])=='+' ) ctr3=1; // cout<=6 && ctr1==1 && ctr2==1 && ctr3==1 && ctr==1 ) cout<<"0\n"; else{ //cout<<"here\n"; int y=0; if(ctr==0) y+=1; if(ctr1==0) y+=1; if(ctr2==0) y+=1; if(ctr3==0) y+=1; //cout<<"y ="<