#include using namespace std; int minimumNumber(int n, string password) { // Return the minimum number of characters to make the password strong int k=0,L=0,U=0,N=0,S=0; string special_characters = "!@#$%^&*()-+"; string numbers = "0123456789"; string lower_case = "abcdefghijklmnopqrstuvwxyz"; string upper_case = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; for(int i=0;i=6) return k; else { if((password.length()+k)>=6) return k; else return k+(6-password.length()-k); } } int main() { int n; cin >> n; string password; cin >> password; int answer = minimumNumber(n, password); cout << answer << endl; return 0; }