# Arup Guha
# 8/30/2024
# Program to grade H1 to help read student messages for question 4.

# Pipe student message as input here.
cipher = input()

# Keys to decrypt are a = 23, b = 19, I just hard-coded it below.
plain = ""
for x in cipher:
    if x >= 'a' and x <= 'z':
        val = (23*(ord(x)-ord('a')) + 19)%26
        c = chr(val+ord('a'))
        plain = plain + c

# You have to be able to read this to give full credit.
print(plain)
    

