def check(x, y, z):
val = 0
for i in [x, y, z, 0x33, 0x35, 0x33]:
val = 16 * val + i - 48
return val == 0x401353
for x in range(1, 148):
for y in range(1, 149 - x - 1):
z = 149 - x - y
if z <= 0: continue
if check(x, y, z):
print(x, y, z)
print(chr(x), chr(y), chr(z))