링크 : https://www.acmicpc.net/problem/6321
/*
문제 : IBM 빼기 1
링크 : https://www.acmicpc.net/problem/6321
*/
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
for(int i = 0; i < n; i++){
string s;
cin >> s;
string st;
for(char c : s){
if(c == 'Z') c = 'A';
else c = c + 1;
st += c;
}
cout << "String #" << i+1 << '\n';
cout << st << '\n' << '\n';
}
}