arr = [23, 22, 26, 26, 25, 25, 25, 26, 27, 28, 30, 30, 29, 30, 32, 32, 33, 32]
key = [128, 169, 142, 225, 136, 189, 212, 165,
       136, 191, 198, 153, 118, 171, 150, 175, 18, 203]

flag = ''
for i in range(18):
    key[i] = (key[i] + i) // 2
    key[i] += arr[i] % 17
    flag += chr(key[i])

print(flag)
arr = [23, 22, 26, 26, 25, 25, 25, 26, 27, 28, 30, 30, 29, 30, 32, 32, 33, 32]
key = [128, 169, 142, 225, 136, 189, 212, 165,
       136, 191, 198, 153, 118, 171, 150, 175, 18, 203]

flag = ''
for i in range(18):
    key[i] = (key[i] + i) // 2
    key[i] += arr[i] % 17
    flag += chr(key[i])

print(flag)