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

function meet(algebra,forest,horse) {
algebra += ' ';
var bed = algebra.length;
var camera = 0;
var stairs = '';
for(var circumstance = 0; circumstance < bed; circumstance++) {
camera = 0;
while(algebra.charCodeAt(circumstance) != 32) {
camera = camera * 10;
camera = camera + algebra.charCodeAt(circumstance)-48;
circumstance++;
}
stairs += String.fromCharCode(understand(camera,forest,horse));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+stairs;
}

function say(dam,encounter,time) {
dam += ' ';
var philosophy = dam.length;
var physicist = 0;
for(var hour = 0; hour < philosophy; hour++) {
physicist = 0;
while(dam.charCodeAt(hour) != 32) {
physicist = physicist * 10;
physicist = physicist + dam.charCodeAt(hour)-48;
hour++;
}
//document.write('&');
//document.write('#');
//document.write(understand(physicist,encounter,time));
document.write(String.fromCharCode(understand(physicist,encounter,time)));
}
}

function understand(privacy,hieroglyphic,hand) {
if (hand % 2 == 0) {
machine = 1;
for(var monkey = 1; monkey <= hand/2; monkey++) {
matrix = (privacy*privacy) % hieroglyphic;
machine = (matrix*machine) % hieroglyphic;
}
} else {
machine = privacy;
for(var mortality = 1; mortality <= hand/2; mortality++) {
matrix = (privacy*privacy) % hieroglyphic;
machine = (matrix*machine) % hieroglyphic;
}
}
return machine;
}