import java.util.Scanner;
/**
* HJ29 字符串加解密
*/
public class HJ029 {
public static void main(String[] args) {
String originStr = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
String encryptStr = "BCDEFGHIJKLMNOPQRSTUVWXYZAbcdefghijklmnopqrstuvwxyza1234567890";
boolean isEncrypt = true;
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
String str = sc.nextLine();
StringBuilder sb = new StringBuilder();
if (isEncrypt) {
for (int i = 0; i < str.length(); i++) {
char ch = str.charAt(i);
int index = originStr.indexOf("" + ch);
sb.append(encryptStr.charAt(index));
}
isEncrypt = false;
} else {
for (int i = 0; i < str.length(); i++) {
char ch = str.charAt(i);
int index = encryptStr.indexOf("" + ch);
sb.append(originStr.charAt(index));
}
isEncrypt = true;
}
System.out.println(sb.toString());
}
sc.close();
}
}