1s=input()
2new_str=""
3for i in range (len(s)):
4 if s[i].isupper():
5 new_str+=s[i].lower()
6 elif s[i].islower():
7 new_str+=s[i].upper()
8 else:
9 new_str+=s[i]
10print(new_str)
11
12
1def swap_string():
2 s=input()
3 swapped_string=""
4 swapped_string+=s.swapcase()
5 return swapped_string