def slide(c,n)
	if (c==" "||c==".") then c
	else((c.ord-"a".ord+n)%26+"a".ord).chr
	end
end

while input=gets
	input=input.chomp
	ans=""
	25.times{|i|
		dec=""
		for ch in input.split("")
			dec+=slide(ch,i+1)
		end
		if(dec.include?("the")||dec.include?("this")||dec.include?("that")) then
			ans=dec
			break
		end
	}
	puts ans
end
