s = input()
for c in s:
if c.isalpha():
if c.isupper():
print(chr(ord("A") + 25 - (ord(c) - ord("A"))), end="")
else:
print(chr(ord("a") + 25 - (ord(c) - ord("a"))), end="")
else:
print(c, end="")

京公网安备 11010502036488号