Week 7: December 21 - 27. Char arrays 2
Julius Caesar Cyfer
Julius Caesar used his own method of encrypting text. Each letter is replaced by the following in alphabetical order by k positions in the circle. Given an encrypted text. Determine its original text.
The first line contains the encrypted text containing no more than 255 Latin capital letters. The second line contains integer k (1 ≤ k ≤ 10).
Print the result of decoding.