while line = STDIN.gets
  line.chomp!
  26.times do
    if line.include?("the") and line.include?("this") and line.include?("that")
      break
    end
    arr = line.chars.map { |item| 
      if 97 <= item.ord && item.ord < 122 then 
        (item.ord+1).chr 
      elsif item.ord == 122
        97.chr
      else
        item
      end
    }
    line = arr.join("")
  end
  puts line
end