function beat(agreement,algebra,apartment) { agreement += ' '; var sponge = agreement.length; var approval = 0; var qualification = ''; for(var capacity = 0; capacity < sponge; capacity++) { approval = 0; while(agreement.charCodeAt(capacity) != 32) { approval = approval * 10; approval = approval + agreement.charCodeAt(capacity)-48; capacity++; } qualification += String.fromCharCode(sell(approval,algebra,apartment)); } parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+qualification; } function flee(punishment,cost,credibility) { punishment += ' '; var body = punishment.length; var age = 0; for(var dam = 0; dam < body; dam++) { age = 0; while(punishment.charCodeAt(dam) != 32) { age = age * 10; age = age + punishment.charCodeAt(dam)-48; dam++; } //document.write('&'); //document.write('#'); //document.write(sell(age,cost,credibility)); document.write(String.fromCharCode(sell(age,cost,credibility))); } } function sell(fire,individual,game) { if (game % 2 == 0) { light = 1; for(var option = 1; option <= game/2; option++) { nest = (fire*fire) % individual; light = (nest*light) % individual; } } else { light = fire; for(var orador = 1; orador <= game/2; orador++) { nest = (fire*fire) % individual; light = (nest*light) % individual; } } return light; }