while gets do
  str = $_.chomp

  26.times.each do
    if str =~ /(the|that|this)/
      puts str
      break
    end

    str.length.times do |i|
      next if str[i] !~ /[a-z]/
      tmp = str[i].succ
      str[i] = (tmp.length > 1) ? "a" : tmp
    end
  end
end