let rec p = function
  |[]->false|"the"::_->true|"this"::_->true|"that"::_->true|_::t->p t

let encode l =
  List.map (fun s -> String.map (fun c -> if c>='a'&&c<='z' then char_of_int (((int_of_char c - 97 + 1) mod 26) + 97) else c) s) l

let () =
  let rec doit l =
    if p l then print_endline (String.concat " " l)
    else doit (encode l)
  in
  doit (Str.split (Str.regexp " ") (read_line ()))