def convert(ch, shift)
  val = (ch.bytes.to_a[0] + shift)
  s = val%122
  if s < 97
    (97+s).chr
  else
    s.chr
  end
end


def checker4(string)
  list4 = ["this","that"]
  list4.each do |list|
    1.upto(25) do |s|
      index = 0
      string.each_char do |ch|
        next if list[index].bytes.to_a[0] - convert(ch, s).bytes.to_a[0] != 0
        index += 1
      end
      return s if index == 4
    end
  end
  return false
end

def checker3(string)
  list3 = ["the"]
  list3.each do |list|
    index = 0
    1.upto(25) do |s|
      string.each_char do |ch|
        next if list[index].bytes.to_a[0] - convert(ch, s).bytes.to_a[0] != 0
        index += 1
      end
      return s if index == 3
    end
  end
  return false
end

string = $stdin.gets

data = string.chomp.split(' ')


val = 0
data.each do |str|
  case str.size()
  when 3
    val = checker3(str)
  when 4
    val = checker4(str)
  end
  break if val
end


string.each_char do |ch|
  if ch != ' ' && ch != '.'
    print convert(ch,val)
  else
    print ch
  end
end

print "\n"