while line = gets
  26.times{
    if line.include?("the") || line.include?("this") || line.include?("that")
      puts line
      break
    end
    line.size.times{|i|
      if "a" <= line[i] && line[i] <= "z"
        line[i] = (line[i].ord + 1).chr
        line[i] = "a" if line[i] > "z"
      end
    }
  }
end