for x in open(0):print(bytes.fromhex('%x'%pow(eval(x),int('a6y9dnkqd5ty199g4niqcssq1ihb7wemfrlzsojxxurv9q2wkv963ijm2ush74lri4857pish44364foch3i76m2o4km1dl4yot',36),int('obmby3n3khg1pdg1r83dy06ekaewe9mwgws2571mfjl1osnc23304kujcufu1181rocoaoa91rm2h31rvds8yvwj3s39s8lxv9p',36))).decode())
Note that non-ascii characters in the above source code will be escaped (such as \x9f).