Cipher Julia
Problem
Julius Caesar used his own method of encrypting text. Each letter was replaced by the next alphabetically through K positions around the circle. It is necessary to determine the source text by the given encryption.
Input data: the first line contains an encryption consisting of capital Latin letters. The second line contains the number
K (
\(1 <= K <= 10\)).
Output: You want to output the decryption result.
Examples
| # |
Input |
Output |
| 1 |
XPSE
1 |
WORD |
| 2 |
ZABC
3 |
WXYZ |