S = input()
answer = ''
for i in S:
if i.islower():
x = ord(i) + 13
if x > 122:
x -= 26
answer += chr(x)
elif i.isupper():
x = ord(i) + 13
if x > 90:
x -= 26
answer += chr(x)
else:
answer += i
print(answer)