#include #include #include #include #include using namespace std; bool has_char(const string& str, const string& source){ bool has_cha{}; for(auto x:str){ auto it = find(source.begin(),source.end(),x); if(it!=source.end()){ has_cha = true; break; } } return has_cha; } int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int n; cin >> n; string str; cin >> str; string numbers = "0123456789"; string lower_case = "abcdefghijklmnopqrstuvwxyz"; string upper_case = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; string special_characters = "!@#$%^&*()-+"; int count{}; bool has_num{}, has_low{}, has_upp{}, has_spe{}; for(int i=0;i