Ethel's Encryption

No attempts yetTime limit1sMemory limit256 MB

Problem

Ethel suspected that the North Side Alliance (NSA) was reading the messages she exchanged with her sister Lucy. To stop them, Ethel encrypted every message with a Caesar cipher.

A Caesar cipher shifts each letter of the plaintext forward by a fixed offset to produce the ciphertext. With an offset of 2, A becomes C, B becomes D, and Y becomes A.

The offset is aba^b. Given the ciphertext, recover the original message.

Input

The first line contains three integers nn, aa, and bb. Here nn is the number of characters in the ciphertext, spaces included. The offset is computed as aba^b, with 0a2310 \le a \le 2^{31} and 0b2160 \le b \le 2^{16}. In every input at least one of aa and bb is greater than 0.

The second line contains the nn characters of the ciphertext. The ciphertext consists only of upper-case letters (A-Z) and spaces, and a newline follows it immediately.

Output

Print the decrypted message in upper-case letters on a single line. Spaces stay in the positions they occupy in the ciphertext. Print a newline immediately after that line.