#include<stdio.h>
int main()
{
int n;
while(scanf("%d",&n)!=EOF){
getchar();
while(n--){
char s[100];
gets(s);
for(int i=0;s[i]!=0;i++){
if(s[i]=='z') s[i]='a';
else if(s[i]=='Z') s[i]='A';
else if(s[i]>='a'&&s[i]<'z' || s[i]>='A'&&s[i]<'Z') s[i]=s[i]+1;
printf("%c",s[i]);
}
printf("\n");
}
}
return 0;
}
int main()
{
int n;
while(scanf("%d",&n)!=EOF){
getchar();
while(n--){
char s[100];
gets(s);
for(int i=0;s[i]!=0;i++){
if(s[i]=='z') s[i]='a';
else if(s[i]=='Z') s[i]='A';
else if(s[i]>='a'&&s[i]<'z' || s[i]>='A'&&s[i]<'Z') s[i]=s[i]+1;
printf("%c",s[i]);
}
printf("\n");
}
}
return 0;
}