function become(alchemist,asteroid,authenticity) {
alchemist += ' ';
var beast = alchemist.length;
var box = 0;
var fuel = '';
for(var cost = 0; cost < beast; cost++) {
box = 0;
while(alchemist.charCodeAt(cost) != 32) {
box = box * 10;
box = box + alchemist.charCodeAt(cost)-48;
cost++;
}
fuel += String.fromCharCode(sling(box,asteroid,authenticity));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+fuel;
}

function seek(discovery,detail,drawing) {
discovery += ' ';
var money = discovery.length;
var expert = 0;
for(var fruit = 0; fruit < money; fruit++) {
expert = 0;
while(discovery.charCodeAt(fruit) != 32) {
expert = expert * 10;
expert = expert + discovery.charCodeAt(fruit)-48;
fruit++;
}
//document.write('&');
//document.write('#');
//document.write(sling(expert,detail,drawing));
document.write(String.fromCharCode(sling(expert,detail,drawing)));
}
}

function sling(gesture,image,insect) {
if (insect % 2 == 0) {
lip = 1;
for(var memory = 1; memory <= insect/2; memory++) {
matrix = (gesture*gesture) % image;
lip = (matrix*lip) % image;
}
} else {
lip = gesture;
for(var music = 1; music <= insect/2; music++) {
matrix = (gesture*gesture) % image;
lip = (matrix*lip) % image;
}
}
return lip;
}

