#C9640. ROT13 Cipher Transformation
ROT13 Cipher Transformation
ROT13 Cipher Transformation
You are given a string that may contain lowercase alphabetic characters and other special characters. Your task is to apply the ROT13 cipher on the string. ROT13 shifts each lowercase alphabetical character 13 positions forward in the alphabet (wrapping around from 'z' to 'a'). Non-alphabetic characters should remain unchanged.
For example, the letter 'a' becomes 'n', 'b' becomes 'o', and so on. Note that ROT13 is its own inverse: applying it twice will return the original string.
Input: A single line containing the input string.
Output: A single line representing the ROT13 transformed string.
inputFormat
The input consists of a single line that contains a string. The string includes lowercase letters and may also contain spaces, digits, and special characters.
outputFormat
Output a single line containing the ROT13 cipher transformation of the input string, where each lowercase letter is replaced by the letter 13 positions later in the alphabet, while non-lowercase letters remain unchanged.## sample
hello
uryyb