program Project;
VAR
mo, gr, pr: real;
name: string; // Changed to string for names
begin
repeat
readln(name, pr, gr); // Changed to readln for input
mo := (pr + gr) / 2;
if (mo >= 10) then
writeln('Ο μαθητής Χ προβιβάζεται')
else
writeln('Ο μαθητής Χ πρέπει να επανεξεταστεί');
// The `readIn` procedure call at the end is removed as it is not needed
until false; // Added termination condition for the repeat loop
end.