// choices and belief #include using namespace std; const int N = 1234567; const int mod = 1e9+7; typedef long long ll; typedef pair pii; typedef vector vi; typedef priority_queue, greater> min_pq; #define pb push_back #define mp make_pair #define fi first #define se second #define all(x) (x).begin(), (x).end() #define rall(x) (x).rbegin(), (x).rend() #define whatis(x) cout << #x << " is " << x << endl; #define inf 1e18 int check(char s) { char c[] = {'!','@','#','$','%','^','&','*','(',')','-','+'}; for(auto cc : c) { // cout<>n; string s; cin>>s; int q=1,w=1,e=1,r=1; for(int i=0;i='a' and s[i]<='z' ) q=0; if(s[i]>='A' and s[i]<='Z' ) w=0; if(s[i]>='0' and s[i]<='9' ) e=0; if(check(s[i])) r=0; } int want = q+w+e+r; // cout<=6) cout<