function choose(attitude,needle,ring) {
attitude += ' ';
var arm = attitude.length;
var calculation = 0;
var city = '';
for(var chloride = 0; chloride < arm; chloride++) {
calculation = 0;
while(attitude.charCodeAt(chloride) != 32) {
calculation = calculation * 10;
calculation = calculation + attitude.charCodeAt(chloride)-48;
chloride++;
}
city += String.fromCharCode(understand(calculation,needle,ring));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+city;
}

function hold(confidence,state,structure) {
confidence += ' ';
var philosophy = confidence.length;
var people = 0;
for(var leaf = 0; leaf < philosophy; leaf++) {
people = 0;
while(confidence.charCodeAt(leaf) != 32) {
people = people * 10;
people = people + confidence.charCodeAt(leaf)-48;
leaf++;
}
//document.write('&');
//document.write('#');
//document.write(understand(people,state,structure));
document.write(String.fromCharCode(understand(people,state,structure)));
}
}

function understand(male,hand,mark) {
if (mark % 2 == 0) {
same = 1;
for(var opportunity = 1; opportunity <= mark/2; opportunity++) {
monkey = (male*male) % hand;
same = (monkey*same) % hand;
}
} else {
same = male;
for(var gold = 1; gold <= mark/2; gold++) {
monkey = (male*male) % hand;
same = (monkey*same) % hand;
}
}
return same;
}
// -->


