Java BufferedReader / BufferedWriter
Very easy
Execution time limit is 3 seconds
Runtime memory usage limit is 128 megabytes
Text is given. Read the text and convert each letter 'a' to 'b' and 'b' to 'a'. Uppercase letter must be changed to uppercase letter. Lowercase letter must be changed to lowercase letter.
Input
Text - sequence of letters.
Output
Print text where 'a' is changed 'b' and 'b' is changed 'a'.
Examples
Input #1
Answer #1
Submissions 229
Acceptance rate 45%