from Crypto.Util.number import *

flag = '*******************'

m = int(flag.encode('hex'), 16)
p = getPrime(256)
while(p % 4 != 3):
    p = getPrime(256)
a = pow(m, 2, p)
print(p)
print(a)

'''
p = 96844604612122594734846587450751002272823339993969599631517516290673675281347
a = 5491280935375344696344639339035431520073311126446116169370534450549651945232
'''