#C3201. Toggle Case

    ID: 46603 Type: Default 1000ms 256MiB

Toggle Case

Toggle Case

In this problem, you are given an integer (n) and a string (s) of length (n) consisting of both uppercase and lowercase English letters. Your task is to toggle the case of each letter in the string. That means converting each uppercase letter to lowercase and each lowercase letter to uppercase. For example, if (s = "aBcDe"), then the output should be (AbCdE). The solution should read input from standard input (stdin) and write the result to standard output (stdout).

inputFormat

The input is given in two lines:\ The first line contains an integer (n), the length of the string.\ The second line contains the string (s) of length (n) consisting only of uppercase and lowercase English letters.

outputFormat

Output a single line containing the modified string where each letter's case has been toggled, i.e., all uppercase letters are converted to lowercase and vice versa.## sample

5
aBcDe
AbCdE