#!/usr/bin/python

#half of keygen)

s = raw_input("Please enter your key: ")
constant = 'Sghrhrsg'
constant2 = 'Sghrhrsgdhlonqs`msjdx'

c = 0
result1 = []
for i in s:
        for I in constant:
                x = ord(i) >> 7 >> 7
                x1 = x + ord(i) >> 1
                x2 = (ord(I) - x1) + 1
                x3 = ord(i)
                x4 = x2 ^ x3
                #print hex(x4)
                c = c + 1
                if c == 1 or c == 10 or c == 15 or c == 28 or c == 35 or c == 39 or c ==55 or c == 58:
                        result1 += chr(x4)
result2 = "".join(result1)
result3 = result2+s[2:] #u_derson
print result2

result4 = (ord(result3[0])+ord(result3[1])) & 1
#print hex(result4)

## Next operations with: derson
## Next operations with: hrhrsgdhlonqs`msjdx
