def dec(s):
    L = list(s)
    for i in range(len(s)):
        if s[i] == "\\":
            L[i] = "]"
        elif s[i] == "]":
            L[i] = "["
        elif s[i] == "[":
            L[i] = "P"
        elif s[i] == "P":
            L[i] = "O"
        elif s[i] == "O":
            L[i] = "I"
        elif s[i] == "I":
            L[i] = "U"
        elif s[i] == "U":
            L[i] = "Y"
        elif s[i] == "Y":
            L[i] = "T"
        elif s[i] == "T":
            L[i] = "R"
        elif s[i] == "R":
            L[i] = "E"
        elif s[i] == "]":
            L[i] = "["
        elif s[i] == "[":
            L[i] = "P"
        elif s[i] == "P":
            L[i] = "O"
        elif s[i] == "O":
            L[i] = "I"
        elif s[i] == "I":
            L[i] = "U"
        elif s[i] == "U":
            L[i] = "Y"
        elif s[i] == "Y":
            L[i] = "T"
        elif s[i] == "T":
            L[i] = "R"
        elif s[i] == "R":
            L[i] = "E"
        elif s[i] == 'E':
            L[i] = 'W'
        elif s[i] == 'W':
            L[i] = 'Q'
        elif s[i] == "'":
            L[i] = ';'
        elif s[i] == ';':
            L[i] = 'L'
        elif s[i] == 'L':
            L[i] = 'K'
        elif s[i] == 'K':
            L[i] = 'J'
        elif s[i] == 'J':
            L[i] = 'H'
        elif s[i] == 'H':
            L[i] = 'G'
        elif s[i] == 'G':
            L[i] = 'F'
        elif s[i] == "F":
            L[i] = "D"
        elif s[i] == "D":
            L[i] = "S"
        elif s[i] == "S":
            L[i] = "A"
        elif s[i] == "/":
            L[i] = "."
        elif s[i] == ".":
            L[i] = ","
        elif s[i] == ",":
            L[i] = "M"
        elif s[i] == "M":
            L[i] = "N"
        elif s[i] == "N":
            L[i] = "B"
        elif s[i] == "B":
            L[i] = "V"
        elif s[i] == "V":
            L[i] = "C"
        elif s[i] == "C":
            L[i] = "X"
        elif s[i] == "X":
            L[i] = "Z"
        elif s[i] == "=":
            L[i] = "-"
        elif s[i] == "-":
            L[i] = "0"
        elif s[i] == "0":
            L[i] = "9"
        elif s[i] == "9":
            L[i] = "8"
        elif s[i] == "8":
            L[i] = "7"
        elif s[i] == "7":
            L[i] = "6"
        elif s[i] == '6':
            L[i] = '5'
        elif s[i] == '5':
            L[i] = '4'
        elif s[i] == "4":
            L[i] = '3'
        elif s[i] == '3':
            L[i] = '2'
        elif s[i] == '2':
            L[i] = '1'
        elif s[i] == '1':
            L[i] = '`'
        elif s[i] == '+':
            L[i] = '_'
        elif s[i] == '|':
            L[i] = '}'
        elif s[i] == '}':
            L[i] = '{'
        elif s[i] == "{":
            L[i] = "P"
        elif s[i] == '''"''':
            L[i] = ":"
        elif s[i] == ":":
            L[i] = "L"
        elif s[i] == "?":
            L[i] = ">"
        elif s[i] == ">":
            L[i] = "<"
        elif s[i] == "<":
            L[i] = "M"
        elif s[i] == ")":
            L[i] = "("
        elif s[i] == "(":
            L[i] = "*"
        elif s[i] == "*":
            L[i] = "&"
        elif s[i] == "&":
            L[i] = "^"
        elif s[i] == "^":
            L[i] = "%"
        elif s[i] == "%":
            L[i] = "$"
        elif s[i] == "$":
            L[i] = "#"
        elif s[i] == "#":
            L[i] = "@"
        elif s[i] == "@":
            L[i] = "!"
        elif s[i] == "!":
            L[i] = "~"
        else:
            L[i]=s[i]
    st = ''.join(L)
    print(st)


while True:
    try:
        s = input()
        dec(s)
    except:
        break