@data = STDIN.gets.chomp!
temp = @data
a = ["the","this","that"]

def swap
  out = @data
  i=0
  while i<out.length
    case out[i]
    when "z"
      out[i] = "a"
    when " "
      out[i] = " "
    when "."
      out[i] = "."
    when "\\"
      i+=1
    else
      out[i] = out[i].succ
    end
    i+=1
  end
  return out
end

for i in 1.. 26
  flag = false
  for j in 0.. 2
    if temp.index(a[j]) != nil
      flag = TRUE
    end
  end
  if flag
    puts temp
    break
  end
  temp = swap()
end