File standardInput readLines map(split map(asNumber)reduce(a,b,c:=a/2-(a*a/4-b)**.5;writeln(c," ",a-c)))