uses crt;
const a=0.5;
var
   z: real;
   x, y: integer;
begin
     x:=1;
     y:=5;
     for x:=1 to 2 do
     begin
           for y:=5 to 7 do
           begin
                 z:=sqrt(x+a*sqrt(y));
                 writeln(z:5:3);
           end;
     end;
end.
