a = [0x2,0x3,0x5,0x7,0xb,0xd,0x11,0x13,0x17,0x1d,0x1f,0x25,0x29,0x2b,0x2f,0x35,0x3b,0x3d,0x43,0x47,0x49,0x4f,0x53,0x59,0x61,0x65,0x67,0x6b,0x6d,0x71,0x7f]
b = [0x1b6,0x498,0x441,0x179,0x179,0x640,0x39c,0x179,0x64a,0x39c,0x27d,0x27f,0x178,0x236,0x344,0x33e]
c = [0]*16;
d = 0
for i in range(16):
for e in range(0,0x7f):
for q in range(len(a)):
if a[q]<e:
d +=a[q]
else :
break
if d^e==b[i]:
c[i]=e
break
d = 0
print(c)
f = ''.join(chr(c[i]) for i in range(16))
print(f)