#C9145. Caesar Cipher Encryption
Caesar Cipher Encryption
Caesar Cipher Encryption
You are given an integer ( k ) and a plaintext string consisting solely of lowercase English letters. Your task is to encrypt the plaintext by applying the Caesar cipher with a shift of ( k ). In a Caesar cipher, each letter in the plaintext is replaced by the letter a fixed number of positions down the alphabet. The shift wraps around so that after ( z ) comes ( a ).
inputFormat
The input consists of two lines. The first line contains an integer ( k ), which represents the shift value. The second line contains the plaintext string ( s ) made up of lowercase letters.
outputFormat
Output the encrypted string after applying the Caesar cipher with the given shift ( k ).## sample
1
abc
bcd