#include using namespace std; int main() { int n, q=1, w=1, e=1, r=1, hasil=0; string a; cin >> n >> a; for(int i=0; i=0 and a[i]-48<=9) q=0; } if(w==1){ if(a[i]-97>=0 and a[i]-97<=26) w=0; } if(e==1){ if(a[i]-65>=0 and a[i]-65<=26) e=0; } if(r==1){ if(a[i]-33>=0 and a[i]-33<=64){ if(a[i]=='!' ||a[i]=='@' ||a[i]=='#' ||a[i]=='$' ||a[i]=='^' ||a[i]=='&' ||a[i]=='*' ||a[i]=='(' ||a[i]==')' ||a[i]=='-' ||a[i]=='+') { r=0; } } } } hasil=q+w+e+r; if((n+hasil)<6){ hasil=hasil+(6-(hasil+n)); } cout << hasil << endl; return 0; }