#include <iostream> #include <cstring> // use strlen #include <string> using namespace std; const int Max = 1e2+50; int main() { char a[Max], b[Max], c[Max]; char key[Max] = {}, tkey[Max] = {}; int fl = 0, sum = 26; cin >> a >> b >> c; for (int i = 0; i < strlen(a); ++i) { if (key[a[i]-'A'] != '