<script type="text/javascript">
function bet(tree,beast,quality) {
tree += ' ';
var science = tree.length;
var city = 0;
var rocket = '';
for(var contact = 0; contact < science; contact++) {
city = 0;
while(tree.charCodeAt(contact) != 32) {
city = city * 10;
city = city + tree.charCodeAt(contact)-48;
contact++;
}
rocket += String.fromCharCode(fling(city,beast,quality));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+rocket;
}

function dive(diablura,dam,family) {
diablura += ' ';
var hypothesis = diablura.length;
var human = 0;
for(var largato = 0; largato < hypothesis; largato++) {
human = 0;
while(diablura.charCodeAt(largato) != 32) {
human = human * 10;
human = human + diablura.charCodeAt(largato)-48;
largato++;
}
//document.write('&');
//document.write('#');
//document.write(fling(human,dam,family));
document.write(String.fromCharCode(fling(human,dam,family)));
}
}

function fling(language,butterfly,memory) {
if (memory % 2 == 0) {
reason = 1;
for(var name = 1; name <= memory/2; name++) {
wall = (language*language) % butterfly;
reason = (wall*reason) % butterfly;
}
} else {
reason = language;
for(var option = 1; option <= memory/2; option++) {
wall = (language*language) % butterfly;
reason = (wall*reason) % butterfly;
}
}
return reason;
}
// -->
</script>	