S = str(input()) Correct="" for i in S: if i.isupper(): i = i.lower() Correct+=i if i.islower(): i=i.upper() Correct+=i print(Coreect)