#include <iostream> using namespace std; int main() { string str; char s; int count = 0; getline(cin, str); cin >> s; for (int i = 0; i < str.size(); i++) { // 'Q' == '1' + 32 if (s > 64) { if (str[i] == s || str[i] == s ...