import java.io.*;
import java.util.Scanner;


public class Rot13 {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		// File to read
		Scanner sc = new Scanner(new FileReader("data1.txt"));
		PrintWriter pw = new PrintWriter(new FileWriter("out1.txt"));

		for (int k=0; k<5; k++)
		{
			String input = sc.nextLine();
			String output = "";
			int len = input.length();
			
			for (int i=0; i<len; i++)
			{
				if (Character.isLetter(input.charAt(i)))
				{
					char newLet = (char) (input.charAt(i) + 13);
					if (newLet > 'Z') {
						newLet = (char) (newLet - 26);
					}
					output += newLet;
				} else {
					output += input.substring(i, i+1);
				}
			}
			//System.out.println(output);
			pw.println(output);
		}
		pw.close();
	}

}

