words = []
loop do
  str = gets
  break if str == nil
  words.concat(str.chomp.split)
end

alps = ("a".."z").to_a
tIndex = alps.index("t")
sub = 0
words.each do |word|
  w = word.gsub(/\./, "")
  next unless w.length == 3 || w.length == 4
  sub = (tIndex - alps.index(w[0]))%26
  s = w.split("").map do |i|
    alps[(alps.index(i) + sub)%26]
  end
  break if s == "the" || s == "this" || s == "that"
end

ans = []
words.each do |word|
  w = word.split("").map do |i|
    if i == "."
      i
    else
      alps[(alps.index(i) + sub)%26]
    end
  end
  ans.concat(w).concat([" "])
end
puts ans.join.chomp