Hard
Vigenère Cipher
Read a message and a key word of small letters. Shift each letter of the message forward by the key's letter (a = 0, b = 1, …), using the key letters in turn and only advancing the key on letters. Keep capitals capital, small letters small, and leave other characters unchanged.
Input
Two lines.
Output
One line.
Sample 1
Input
Attack at dawn! lemon
Output
Lxfopv ef rnhr!
Sample 2
Input
hello a
Output
hello
Output appears here