Toggle Case of Each Letter
Flip the case of every letter in a word.
Input format
A single line with one word S (letters only, mixed case).
Output format
Print S with the case of every letter flipped (lowercase becomes uppercase and vice versa).
Constraints
- Values fit in a 64-bit signed integer
- Trailing whitespace and a trailing newline are ignored by the judge
Read from stdin, write to stdout. Sample cases below show the exact format.
Sample cases
Example 1
Input
HelloExpected output
hELLOExample 2
Input
abcExpected output
ABC