Apply a Caesar cipher to a line of text: shift every English letter forward by k positions in the alphabet, wrapping from z back to a (and Z back to A). Uppercase stays uppercase, lowercase stays lowercase, and any character that is not a letter is left unchanged.
Input format
Line 1: the text s (printable ASCII, may contain spaces).
Line 2: a non-negative integer k.
Output format
One line: the ciphered text.
Constraints
- 0 <= len(s) <= 100000
- 0 <= k <= 1000000000