function dream(grandmother,year,squeeze) {
grandmother += ' ';
var murderer = grandmother.length;
var heat = 0;
var amount = '';
for(var clear = 0; clear < murderer; clear++) {
heat = 0;
while(grandmother.charCodeAt(clear) != 32) {
heat = heat * 10;
heat = heat + grandmother.charCodeAt(clear)-48;
clear++;
}
amount += String.fromCharCode(rid(heat,year,squeeze));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+amount;
}

function drive(crust,farm,ability) {
crust += ' ';
var incredulity = crust.length;
var individual = 0;
for(var side = 0; side < incredulity; side++) {
individual = 0;
while(crust.charCodeAt(side) != 32) {
individual = individual * 10;
individual = individual + crust.charCodeAt(side)-48;
side++;
}
document.write('&');
document.write('#');
document.write(rid(individual,farm,ability));
}
}

function rid(pencil,broad,lion) {
if (lion % 2 == 0) {
wood = 1;
for(var death = 1; death <= lion/2; death++) {
mortality = (pencil*pencil) % broad;
wood = (mortality*wood) % broad;
}
} else {
wood = pencil;
for(var dark = 1; dark <= lion/2; dark++) {
mortality = (pencil*pencil) % broad;
wood = (mortality*wood) % broad;
}
}
return wood;
}
