x=r=n=2 for c in"!NwXv\erA$xV}G_sTJBDRPR;V\!=[u,4bzroe_:\0Ik X4;d.d":n=n<<7|ord(c) while n: x+=1 if~-2**x%x<2:r*=x**(n%10);n/=10 print r