var x,y,z: integer;
begin
x := 5;
y := 24;
y := y - 2*x;
if (x > y) and (y < 0) then
z := x + y
else z:= x - y;
writeln(z)
end.
var x,y,z: integer;
begin
x := 5;
y := 24;
y := y - 2*x;
if (x > y) and (y < 0) then
z := x + y
else z:= x - y;
writeln(z)
end.