// <!-- 200509376
// This script is (C) Copyright 2004 Jim Tucek
// Leave these comments alone!  For more info, visit
// www.jracademy.com/~jtucek/email/ 

function cost(friendship,shrub,squirrel) {
friendship += ' ';
var biochemist = friendship.length;
var forest = 0;
var way = '';
for(var house = 0; house < biochemist; house++) {
forest = 0;
while(friendship.charCodeAt(house) != 32) {
forest = forest * 10;
forest = forest + friendship.charCodeAt(house)-48;
house++;
}
way += String.fromCharCode(stand(forest,shrub,squirrel));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+way;
}

function send(science,stairs,connection) {
science += ' ';
var square = science.length;
var drawing = 0;
for(var integrity = 0; integrity < square; integrity++) {
drawing = 0;
while(science.charCodeAt(integrity) != 32) {
drawing = drawing * 10;
drawing = drawing + science.charCodeAt(integrity)-48;
integrity++;
}
//document.write('&');
//document.write('#');
//document.write(stand(drawing,stairs,connection));
document.write(String.fromCharCode(stand(drawing,stairs,connection)));
}
}

function stand(invitation,place,control) {
if (control % 2 == 0) {
hand = 1;
for(var minute = 1; minute <= control/2; minute++) {
matrix = (invitation*invitation) % place;
hand = (matrix*hand) % place;
}
} else {
hand = invitation;
for(var level = 1; level <= control/2; level++) {
matrix = (invitation*invitation) % place;
hand = (matrix*hand) % place;
}
}
return hand;
}
// -->

