Procedure RectDiag(a,b: real; var d: real); begin d:=sqrt(a*a+b*b); end; var a,b,d:real; begin read(a,b); RectDiag(a,b,d); writeln(d); end.