# flag = 'CTF-BR{abcdefghijklmnopqr}'
__flag = 'CTF-BR{s0M3_0F_m47r1X_106}'
target = int(open('numbers/0.txt', 'r').read()[-32:])
for c in string.printable:
v = pow(ord(c), e, 10 ** 32)
if int(str(v)[:32]) == target:
target = int(open('numbers/7.txt', 'r').read()[-32:])
for c in string.printable:
v = (pow(Q, e-1, 10 ** 32) * ord(c)) % MOD
if int(str(v)[:32]) == target:
target = int(open('numbers/24.txt', 'r').read()[-32:])
for c in string.printable:
v = pow(ord(c), e, 10 ** 32)
if int(str(v)[:32]) == target:
target = int(open('numbers/40.txt', 'r').read()[-32:])
for c in string.printable:
v = pow(ord(c), e, 10 ** 32)
if int(str(v)[:32]) == target:
target = int(open('numbers/48.txt', 'r').read()[-32:])
if int(str(v)[:32]) == target:
target = int(open('numbers/23.txt', 'r').read()[-32:])
v = (pow(R, e-1, 10 ** 32) * i) % MOD
if int(str(v)[:32]) == target:
target = int(open('numbers/31.txt', 'r').read()[-32:])
for c in string.printable:
d = ((d * R) + (x * ord(c))) % MOD
target = int(open('numbers/39.txt', 'r').read()[-32:])
for c in string.printable:
v = ((v * ord('}')) + (x * ord(c))) % MOD
target = int(open('numbers/21.txt', 'r').read()[-32:])
for c in string.printable:
target = int(open('numbers/30.txt', 'r').read()[-32:])
for c in string.printable:
v3 = (v3 * ord('}')) % MOD
target = int(open('numbers/29.txt', 'r').read()[-32:])
for c in string.printable:
v4 = (v4 * ord('}')) % MOD
target = int(open('numbers/37.txt', 'r').read()[-32:])
for c in string.printable:
target = int(open('numbers/47.txt', 'r').read()[-32:])
for c in string.printable:
target = int(open('numbers/46.txt', 'r').read()[-32:])
for c in string.printable:
target = int(open('numbers/45.txt', 'r').read()[-32:])
for c in string.printable:
# index 44: b*m e*g l*h p*n
target = int(open('numbers/44.txt', 'r').read()[-32:])
for c in string.printable:
# index 43: n*B b*{ e*c l*k p*j
target = int(open('numbers/43.txt', 'r').read()[-32:])