import java.io.*;
import hsa.Console;
import java.util.StringTokenizer;


// The "Rhombus" class.
public class ROT13
{
    public static char rotate (char temp)
    {
	char result;
	if (temp <= 77)
	{
	    result = (char) (temp + 13);
	}
	else
	{
	    result = (char) (temp - 13);
	}
	return result;
    }


    public static void main (String[] args) throws IOException
    {

	// Open up the input and output file for IO purpose
	FileReader inFile = new FileReader ("DATA1.txt");
	FileWriter outFile = new FileWriter ("OUT1.txt");

	// Link the input and output file for
	BufferedReader in = new BufferedReader (inFile);
	BufferedWriter out = new BufferedWriter (outFile);

	// String e;
	String line;

	// Keep reading as long as not end of file (eof)
	while ((line = in.readLine ()) != null)
	{
	    String result = "";
	    String output = "";
	    StringTokenizer word = new StringTokenizer (line);
	    while (word.hasMoreTokens ())
	    {
		result = "";
		String token = word.nextToken ();
		for (int count = 0 ; count < token.length () ; count++)
		{
		    char temp1 = token.charAt (count);

		    if (temp1 > 64 && temp1 < 91)
		    {
			char temp2 = rotate (temp1);
			result = result + temp2;
		    }
		    else
		    {
			result = result + temp1;
		    }
		}
		output = output + result + " ";
	    }

	    out.write (output);
	    out.newLine ();

	    out.flush ();
	}
	out.close ();
    }
}


// main method
// End of Class



