words = %w(that this the)
while gets
  s = $_.chomp
  26.times { |i|
    str = s.chars.map { |c|
      'a'.ord <= c.ord && c.ord <= 'z'.ord ?  c.ord + i > 'z'.ord ? (c.ord - 26 + i).chr : (c.ord + i).chr : c
    }.join
    words.each { |word|
      if str.include?(word)
        puts str
        break
      end
    }
  }
end