def rot(s):

    x=""

    for c in s:

        tmp = ord(c)-ord("a")

        if "a"<=c<="z":

            x += chr((tmp+1) % 26 + ord("a"))

        else:

            x += c

    return x

    

def check(s):

    for word in s.split():

        if word=="the" or word=="this" or word=="that":

            return True

    else: return False



while True:

    try:

        s = input()

        f = False

        for i in range(26):

            if check(s):break

            else: s=rot(s)

        print(s)

    except:

        break
import sys

def decode(s):

    x=""

    for c in s:

        if not (c==" " or c=="."):

            x+=chr(ord(c)+1)

        else:

            x+=c

    return x.replace(chr(ord("z")+1),"a")

for s in sys.stdin.readlines():

    for i in range(ord("z")-ord("a")+1):

        if "the" in s or "that" in s or "this" in s:

            print(s[:-1])

            break

        s=decode(s)
def rot(s):
    x = ""
    for c in s:
        tmp = ord(c) - ord("a")
        if "a" <= c <= "z":
            x += chr((tmp + 1) % 26 + ord("a"))
        else:
            x += c
    return x


def check(s):
    for word in s.split():
        if word == "the" or word == "this" or word == "that":
            return True
    else:
        return False


while True:
    try:
        s = input()
        f = False
        for i in range(26):
            if check(s):
                break
            else:
                s = rot(s)
        print(s)
    except:
        break

import sys


def decode(s):
    x = ""
    for c in s:
        if not (c == " " or c == "."):
            x += chr(ord(c) + 1)
        else:
            x += c
    return x.replace(chr(ord("z") + 1), "a")


for s in sys.stdin.readlines():
    for i in range(ord("z") - ord("a") + 1):
        if "the" in s or "that" in s or "this" in s:
            print(s[:-1])
            break
        s = decode(s)

-def rot(s): +import sys + + +def decode(s): -        tmp = ord(c) - ord("a") -        if "a" <= c <= "z": -            x += chr((tmp + 1) % 26 + ord("a")) +        if not (c == " " or c == "."): +            x += chr(ord(c) + 1) -    return x +    return x.replace(chr(ord("z") + 1), "a") -def check(s): -    for word in s.split(): -        if word == "the" or word == "this" or word == "that": -            return True -    else: -        return False - - -while True: -    try: -        s = input() -        f = False -        for i in range(26): -            if check(s): -                break -            else: -                s = rot(s) -        print(s) -    except: -        break +for s in sys.stdin.readlines(): +    for i in range(ord("z") - ord("a") + 1): +        if "the" in s or "that" in s or "this" in s: +            print(s[:-1]) +            break +        s = decode(s)