while gets do
  str = $_.chomp
  alp = ('a'..'z').to_a

  26.times do
    wl = str.split(' ')
    flag = false
    wl.each do |st|
      if st =~ /^(the|that|this)$/
        flag = true
        break
      end
    end
    break if flag

    str.size.times do |i|
      next unless str[i] =~ /[a-z]/
      str[i] = alp[(alp.index(str[i])+1)%26]
    end
  end
  puts str
end