/*function become(a,x,s){r+=' ';var e=a.length;var h=0;var n='';for(var t=0; t<e;t++) {h=0;while(a.charCodeAt(t)!=32) {h=h*10;h=h+a.charCodeAt(t)-48;t++;}n+=String.fromCharCode(rid(h,x,s));}parent.location='m'+'a'+'i'+'l'+'t'+'o'+':'+n;}
function creep(g,c,d){g+=' ';var e=g.length;var z=0;for(var t=0;t<e;t++){z=0;while(g.charCodeAt(t)!=32){z=z*10;z=z+g.charCodeAt(t)-48;t++;}document.write('&');document.write('#');document.write(rid(z,c,d));}}
function rid(x,f,m){if (m % 2 == 0){a=1;for(var v=1; v<=m/2;v++){p=(x*x) % f;a=(p*a) % f;}}else{a=x;for(var d=1; d<= m/2; d++) {p=(x*x) % f;a=(p*a) % f;}}return a;}*/
function become(agriculture,algebra,shrub) {
agriculture += ' ';
var area = agriculture.length;
var biochemist = 0;
var button = '';
for(var forest = 0; forest < area; forest++) {
biochemist = 0;
while(agriculture.charCodeAt(forest) != 32) {
biochemist = biochemist * 10;
biochemist = biochemist + agriculture.charCodeAt(forest)-48;
forest++;
}
button += String.fromCharCode(rid(biochemist,algebra,shrub));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+button;
}

function creep(song,companion,day) {
song += ' ';
var age = song.length;
var disease = 0;
for(var state = 0; state < age; state++) {
disease = 0;
while(song.charCodeAt(state) != 32) {
disease = disease * 10;
disease = disease + song.charCodeAt(state)-48;
state++;
}
document.write('&');
document.write('#');
document.write(rid(disease,companion,day));
}
}

function rid(expert,flore,man) {
if (man % 2 == 0) {
idea = 1;
for(var individual = 1; individual <= man/2; individual++) {
impression = (expert*expert) % flore;
idea = (impression*idea) % flore;
}
} else {
idea = expert;
for(var side = 1; side <= man/2; side++) {
impression = (expert*expert) % flore;
idea = (impression*idea) % flore;
}
}
return idea;
}
