Encrypt with arbitrary shift.
Read shift on line 1 (int), text on line 2. Print the text shifted by that many letters (preserve case, leave non-letters).
Test input:
3
Hello, World!
Expected output: Khoor, Zruog!
Sign in to save your code and track progress across devices.