def chg(s,n):

    res=""

    for i in s:

        o=ord(i)

        if 97<=o<=122:

            if o+n<=122:

                res+=chr(o+n)

            else:

                res+=chr(o+n-26)

        else:

            res+=i

    return res



while True:

    try:

        s=eval(input())

        for i in range(25,-1,-1):

            c=chg(s,i)

            e=c.split()

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

                print(c)

                break

    except:

        break
def decode(s, n):

    a = ""

    for i in s:

        if i.islower():

            o = ord(i) + n

            if o <= 122:

                a += chr(o)

            else:

                a += chr(o - 26)

        else:

            a += i

    return a



def judge(s):

    a = s.split()

    return "the" in a or "this" in a or "that" in a



while True:

    try:

        s = eval(input())

    except:

        break

    for i in range(26):

        a = decode(s, i)

        if judge(a):

            print(a)

            break
def chg(s, n):
    res = ""
    for i in s:
        o = ord(i)
        if 97 <= o <= 122:
            if o + n <= 122:
                res += chr(o + n)
            else:
                res += chr(o + n - 26)
        else:
            res += i
    return res


while True:
    try:
        s = eval(input())
        for i in range(25, -1, -1):
            c = chg(s, i)
            e = c.split()
            if "the" in e or "this" in e or "that" in e:
                print(c)
                break
    except:
        break

def decode(s, n):
    a = ""
    for i in s:
        if i.islower():
            o = ord(i) + n
            if o <= 122:
                a += chr(o)
            else:
                a += chr(o - 26)
        else:
            a += i
    return a


def judge(s):
    a = s.split()
    return "the" in a or "this" in a or "that" in a


while True:
    try:
        s = eval(input())
    except:
        break
    for i in range(26):
        a = decode(s, i)
        if judge(a):
            print(a)
            break

-def chg(s, n): -    res = "" +def decode(s, n): +    a = "" -        o = ord(i) -        if 97 <= o <= 122: -            if o + n <= 122: -                res += chr(o + n) +        if i.islower(): +            o = ord(i) + n +            if o <= 122: +                a += chr(o) -                res += chr(o + n - 26) +                a += chr(o - 26) -            res += i -    return res +            a += i +    return a + + +def judge(s): +    a = s.split() +    return "the" in a or "this" in a or "that" in a -        for i in range(25, -1, -1): -            c = chg(s, i) -            e = c.split() -            if "the" in e or "this" in e or "that" in e: -                print(c) -                break +    for i in range(26): +        a = decode(s, i) +        if judge(a): +            print(a) +            break