Im not sure if it is a bug or not but here is the code
// Move to Laszlo and get his secret number.
hero.moveXY(30, 13);
var las = hero.findNearestFriend().getSecret();
// Add 7 to Laszlo's number to get Erzsebet's number.
// Move to Erzsebet and say her magic number.
var erz = las + 7;
hero.moveXY(17, 26);
hero.say(erz);
var sim = erz / 4;
hero.moveXY(30, 39);
hero.say(sim);
hero.moveXY(43, 26);
var aga = sim * las;
hero.say(aga);
// Divide Erzsebet's number by 4 and take the remainder to get Simonyi's number.
// Go to Simonyi and tell him his number.
// Multiply Simonyi's number by Laszlo's to get Agata's number.
// Go to Agata and tell her her number.
I do not understand why the 3rnd mage does not allowe me to go on, maybe i did get it wrong, sorr, english is not my first language.
Im Czech, divide is this ( / ) as i understand, well, solved it by puttin % instead of / and it worked, saw it in some another post of the same lvl but old, i dont know what happened and it does frustrate me, because in the next lvl divide is /.