Program hotrotinhoc_hoc24;
var x,y,z: integer;
function max(a,b: integer): integer;
begin
max:=a;
if max<b then max:=b;
end;
begin
Write('Nhap x='); readln(x);
write('Nhap y='); readln(y);
write('Nhap z='); readln(z);
write('So lon nhat trong 3 so la : ',max(max(x,y),z));
readln
end.