package myhoge

import java.util.Scanner

object Main {
  def main(args: Array[String]): Unit = {
    val charSet = ('a' to 'z').toArray
    val keyword = Set("the", "this", "that")
    val sc = new Scanner(System.in)
    val line = sc.nextLine
//    val line = "xlmw mw xli tmgxyvi xlex m xsso mr xli xvmt."

    (0 to 25).foreach { diff =>
      val result = line.map { ch =>
        val idx = charSet.indexOf(ch)

        if (idx < 0) {
          ch
        } else {
          if (idx - diff < 0) {
            (ch - diff + charSet.length).toChar
          } else {
            (ch - diff).toChar
          }
        }
      }.toString

      if (result.split(" ").exists(keyword.contains)) {
        println(result)
        return
      }
    }
  }
}