import java.io.*;

 public class DWITE3{
 	static String dr = "[]',.pyfgcrl/=aoeuidhtns-;qjkxbmwvz";
 	static String ds = "{}\"<>PYFGCRL?+AOEUIDHTNS_:QJKXBMWVZ";
 	static String qs = "_+QWERTYUIOP{}ASDFGHJKL:\"ZXCVBNM<>?";
 	static String qr = "-=qwertyuiop[]asdfghjkl;'zxcvbnm,./";
 	public static void main (String [] args) throws IOException {
		BufferedReader inBuff = new BufferedReader(new FileReader("DATA3.txt"));
		PrintWriter outPrint = new PrintWriter(new FileWriter("OUT3.txt"));
		String line = inBuff.readLine();
		String output = "";
		for (int i = 0; i < line.length(); i ++) {
			String letter = line.substring(i,i+1);
			int idr = dr.indexOf(letter);
			if (idr != -1) {
				output += qr.substring(idr, idr+1);
			}
			else {
				int ids = ds.indexOf(letter);
				if (ids != -1) {
					output += qs.substring(ids, ids+1);
				}
				else {
					output += letter;
				}
			}
		}
		outPrint.println(output);
		inBuff.close();
		outPrint.close();
 	}
 	
 }
