object Main extends App {

  def move(i: Int)(c: Char): Char =
    if (c == '\n' || c == ' ' || c == '.') c
    else ((c.toInt + i - 97) % 26 + 97).toChar

  val line = readLine
  val ans = (1 until 26)
    .map(i => line.map(move(i)).toString)
    .filter(l => Set("this", "that", "the").exists(l.split(" ").contains))
    .head
  println(ans)
}
