# include using namespace std; int main(){ int n; cin>>n; string numbers = "0123456789"; string lower_case = "abcdefghijklmnopqrstuvwxyz"; string upper_case = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; string special_characters = "!@#$%^&*()-+"; string s; cin>>s; int l1 = numbers.size(); int l2 = lower_case.size(); int l3 = upper_case.size(); int l4 = special_characters.size(); int f1 = 1, f2 = 1, f3 = 1, f4 = 1; for (int i = 0; i < n; i++){ for (int j = 0; j < l1; j++){ if (s[i] == numbers[j]){ f1 = 0; } } for (int k = 0; k < l2; k++){ if (s[i] == lower_case[k]){ f2 = 0; } } for (int m = 0; m < l3; m++){ if (s[i] == upper_case[m]){ f3 = 0; } } for (int t = 0; t < l4; t++){ if (s[i] == special_characters[t]){ f4 = 0; } } } int ctr = f1 + f2 + f3 + f4; if (n + ctr < 6){ ctr += (6 - (n+ctr)); } cout<