Alps=("a".."z").to_a
def decord(str,shift)           
        decorded = ""
        str.split("").each{|ch|
                0.upto(25){|i|
                        if ch == Alps[i]
                                decorded += Alps[i-shift]  
                                break
                        end
                }
        }
        return decorded
end

while buf = gets
        shift=0
        f=false
        while true
                str=buf.chomp.chop            
                decorded = str.split(" ").map{|elm|
                        decord(elm,shift)                       
                }.join(" ")
                decorded.split(" ").each{|elm|          
                        if %w(the that this).include?(elm)
                                f=true
                                break
                        end
                }
                break if f
                shift+=1
        end
        puts decorded +  "."
end