Consider a text. Only capital Latin letters from to have a cost. The cost of is , cost of is and so on. The cost of is . Find the product of all costs of letters in the text.
Text that consists of multiple lines and can contain any letters.
Print the product of all costs of letters in the text by modulo .
In the given example we have the next capital Latin letters: . The costs of the letters are given in the brackets. The product of all the costs is .