1)
program chik2;
var a,b,c:real;
begin
readln(a,b);
if(ac:=a;
a:=(a+b)/2;
b:=b*c;
end;
if(a>=b)then begin
c:=b;
b:=(a+b)/2;
a:=a*c;
end;
writeln(a,' ',b);
end.
2)
program chik;
var a,x,b:real;
begin
readln(a,b);
if(a=0)and(b<>0)then writeln('НЕТ решений');
if(a<>0)then begin
x:=-b/a;
writeln(x);
end;
end.
3)
program chik3;
var a,b:real;
begin
readln(a,b);
if(aif(bwriteln(a,' ',b);
end.