Problem: You have been given a String S consisting of uppercase and lowercase English alphabets. You need to change the case of each alphabet in this String. That is, all the uppercase letters should be converted to lowercase and all the lowercase letters should be converted to uppercase. You need to then print the resultant String to output.

Input Format
The first and only line of input contains the String S  

Output Format
Print the resultant String on a single line.   

Constraints
 1 ≤ |S| ≤ 100   where |S|  denotes the length of string S.  

SAMPLE INPUT
abcdE

SAMPLE OUTPUT
ABCDe

Solution (in PYTHON):

Solution:
'''
# Read input from stdin and provide input before running code

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
input_string = raw_input()
output_string = ''
for i in range(len(input_string)):
	if input_string[i] >= 'a' and input_string[i] <= 'z':
		output_string = output_string + input_string[i].upper()
	else:
		output_string = output_string + input_string[i].lower()

print output_string