The program should be compiled but if you prefer you can use the ZX Spectrum interpreter.
Anyone interested in the competition can read the rules here:
http://arcalusitana.org/MuseuZX/Pascalated_ZXBASIC/Concurso2024.html
Anyone interested in knowing more about this language, and how to compile programs, can click here: