Swap the Case
Swap the case of every letter: lowercase becomes uppercase and vice versa.
Input: one line with a string S of English letters.
Output: S with every letter's case swapped.
Constraints:
- 1 ≤ |S| ≤ 104
- S contains English letters only
Sample Tests
Input 1
HeLLo
Output 1
hEllO
Input 2
abc
Output 2
ABC
Discussion (opens after you solve — no spoilers before)
No comments yet.