Who among the LKSh students doesn't love anagrams? They are a fun way to play with names, surnames, city names, and more. However, the chipmunk Sergey prefers experimenting with his favorite sequences of non-negative integers. To do this, he first needs to convert each sequence into a string using a straightforward algorithm:

Suppose the sequence has length . A prime number is chosen such that n < p \leq 30000 and 26 < p. Define a function for from to . Sergey always selects so that 0 \leq f(k) \leq 26 for all from to . Then, the values f(1), f(2), \ldots, f(n) are calculated sequentially. The resulting function values 1,\ldots,26 correspond to the letters of the Latin alphabet a,\ldots,z, while corresponds to the symbol '*'. These symbols are appended to an initially empty string after each calculation of the function value .
Sergey asserts that from the resulting string and the number , the original sequence can always be reconstructed. Can you do it?
The first line of the input file contains the number and the string . The length of does not exceed characters.
The only line of the output file should contain integers, separated by spaces — the original sequence .
Example 1