#K64332. Swap Case

    ID: 31952 Type: Default 1000ms 256MiB

Swap Case

Swap Case

Given a string s, your task is to swap the case of every letter. That is, convert all lowercase letters to uppercase and all uppercase letters to lowercase. Non-alphabetic characters should remain unchanged. The input will be provided via standard input and the output should be printed to standard output.

inputFormat

The input consists of a single line containing the string s.

outputFormat

Print the string after converting each letter's case. All alphabetic characters are swapped: lowercase becomes uppercase and uppercase becomes lowercase.## sample

Hello World!
hELLO wORLD!