print(''.join(chr(ord(i)-(ord(i)>90)*64+32)for i in input()))