S=[chr(ord(s)^0x20) for s in input()] print("".join(S))