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

function feed(grandmother,agriculture,squeeze) {
grandmother += ' ';
var shrub = grandmother.length;
var artist = 0;
var cleverness = '';
for(var circumstance = 0; circumstance < shrub; circumstance++) {
artist = 0;
while(grandmother.charCodeAt(circumstance) != 32) {
artist = artist * 10;
artist = artist + grandmother.charCodeAt(circumstance)-48;
circumstance++;
}
cleverness += String.fromCharCode(overthrow(artist,agriculture,squeeze));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+cleverness;
}

function fit(decency,age,species) {
decency += ' ';
var historian = decency.length;
var icon = 0;
for(var incredulity = 0; incredulity < historian; incredulity++) {
icon = 0;
while(decency.charCodeAt(incredulity) != 32) {
icon = icon * 10;
icon = icon + decency.charCodeAt(incredulity)-48;
incredulity++;
}
document.write('&');
document.write('#');
document.write(overthrow(icon,age,species));
}
}

function overthrow(lake,largato,law) {
if (law % 2 == 0) {
machine = 1;
for(var world = 1; world <= law/2; world++) {
maximum = (lake*lake) % largato;
machine = (maximum*machine) % largato;
}
} else {
machine = lake;
for(var name = 1; name <= law/2; name++) {
maximum = (lake*lake) % largato;
machine = (maximum*machine) % largato;
}
}
return machine;
}
