#include <iostream> #include <string> #include<algorithm> using namespace std; int main() { string a; getline(cin,a); char b; cin>>b; size_t sum=0; transform(a.begin(),a.end(),a.begin(),::tolower); b=tolower(b); for(size_t i=0;i<a.size();i+...