#K43107. Switch Case of Characters

    ID: 27236 Type: Default 1000ms 256MiB

Switch Case of Characters

Switch Case of Characters

You are given a string consisting of letters as well as other characters. Your task is to change the case of each alphabetic character: convert lowercase letters to uppercase and uppercase letters to lowercase. Non-alphabet characters should remain unchanged.

Input: A single line string provided via stdin.

Output: The resulting string after switching the case of the letters, printed to stdout.

Note: Ensure that your solution handles spaces, numbers, and special characters appropriately. The problem is designed to test simple string manipulation techniques.

inputFormat

The input consists of a single line. The line contains a non-empty string s which may include letters, digits, whitespace and special characters. Read the input from stdin.

outputFormat

Output the modified string to stdout where every lowercase letter in s has been converted to uppercase and every uppercase letter converted to lowercase.

## sample
Hello World! Have a GREAT Day.
hELLO wORLD! hAVE A great dAY.