import java.util.*;
import java.lang.*;
import java.io.*;

class Main {
	public static void main (String[] args) {
		String x = new String();
		Scanner sc = new Scanner(System.in);
		String y = "`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,./";
		try {
			while (sc.hasNextLine()) {
				x = sc.nextLine();
				x = x.toUpperCase();
				int found;
				for (int i = 0; i < x.length(); i++) {
					if (x.charAt(i) == ' ') {
						System.out.print(" ");
					} else {
					found = y.indexOf(x.charAt(i));
					if (found == 0) found = y.length();
					System.out.print(y.charAt(found-1));
					}
				}
				System.out.print("\n");
			}
		} finally {
			sc.close();
		}
	}
}