object Main {
  def main(args: Array[String]): Unit = {
    val lines = Iterator.continually(readLine()).takeWhile(_ != null).toList
    for ((line, _) <- lines.zipWithIndex) {
      var tmpline = line
      while (!(tmpline contains "the") && !(tmpline contains "this") &&
        !(tmpline contains "that")) {

        val line2 = line.map(
          _ match {
            case ch if 'a' to 'y' contains ch => (ch + 1).toChar
            case ch if ch == 'z' => 'a'
            case ch => ch
          }
        )
        tmpline = line2
      }
      println(tmpline)

    }
  }
}