object Main {
  def main(args: Array[String]): Unit = {
    var line = readLine()
    while (!(line contains "the") && !(line contains "this") &&
      !(line 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
        }
      )
      line = line2
    }
    println(line)
  }
}