#include using namespace std; int minimumNumber(int n, string s) { int p1=1,p2=1,p3=1,p4=1; for(int i=0;i=65&&int(s[i])<=90) { p1=0; break; } else p1=1; } for(int i=0;i=97&&int(s[i])<=122) { p2=0; break; } else p2=1; } for(int i=0;i=48&&int(s[i])<=57) { p3=0; break; } else p3=1; } for(int i=0;i> n; string password; cin >> password; int answer = minimumNumber(n, password); if(answer+n<6) cout << 6-n << endl; else cout<