Cost of letters
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
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.
Input
Text that consists of multiple lines and can contain any letters.
Output
Print the product of all costs of letters in the text by modulo .
Examples
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 .
Input #1
Answer #1
Submissions 377
Acceptance rate 30%