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