while gets
	cipher = $_.chomp.split
	while true
		0.upto(cipher.size-1) do |i|
			0.upto(cipher.size-1) do |j|
				cipher[i][j] = (cipher[i][j] == 'z') ? 'a' : (cipher[i][j].bytes[0]+1).chr if (/[a-zA-Z]/ =~ cipher[i][j])
			end
		end
		break if cipher.index("the") or cipher.index("this") or cipher.index("that")
	end
	puts cipher.join(" ")
end