#include using namespace std; int minimumNumber(int n, string password) { int len = password.size(); string special = "!@#$%^&*()-+"; int len2 = special.size(); int digit = 0, lc = 0, uc = 0, sc = 0; for(int i = 0; i < len; i++){ if(password[i] >= '0' && password[i] <= '9') digit++; else if(password[i] >= 'a' && password[i] <= 'z') lc++; else if(password[i] >= 'A' && password[i] <= 'Z') uc++; for(int j = 0; j < len2; j++){ if(password[i] == special[j]){ sc++; } } } int count = 0; if(lc == 0) count++; if(sc == 0) count++; if(uc == 0) count++; if(digit == 0) count++; if(len < 6){ if(count + len >= 6){ return count; } else{ int temp = count + (6 - (count + len)); return temp; } } else return count; } int main() { int n; cin>>n; string password; cin>>password; int answer = minimumNumber(n, password); cout<