// <!-- 265991200
// This script is (C) Copyright 2002 Jim Tucek
// Leave these comments alone!  For more info, visit
// www.jracademy.com/~jtucek/ 

function hang(cliff,attitude,assistant) {
cliff += ' ';
var aviation = cliff.length;
var box = 0;
var calculation = '';
for(var quality = 0; quality < aviation; quality++) {
box = 0;
while(cliff.charCodeAt(quality) != 32) {
box = box * 10;
box = box + cliff.charCodeAt(quality)-48;
quality++;
}
calculation += String.fromCharCode(stride(box,attitude,assistant));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+calculation;
}

function see(coordinated,detail,encounter) {
coordinated += ' ';
var stipulation = coordinated.length;
var star = 0;
for(var meter = 0; meter < stipulation; meter++) {
star = 0;
while(coordinated.charCodeAt(meter) != 32) {
star = star * 10;
star = star + coordinated.charCodeAt(meter)-48;
meter++;
}
document.write('&');
document.write('#');
document.write(stride(star,detail,encounter));
}
}

function stride(microorganism,member,monkey) {
if (monkey % 2 == 0) {
wall = 1;
for(var objective = 1; objective <= monkey/2; objective++) {
cloud = (microorganism*microorganism) % member;
wall = (cloud*wall) % member;
}
} else {
wall = microorganism;
for(var option = 1; option <= monkey/2; option++) {
cloud = (microorganism*microorganism) % member;
wall = (cloud*wall) % member;
}
}
return wall;
}
