var a,b,c:real=2/3;begin repeat read(a,b);writeln((a**c+b**c)**1.5:0:0)until 0>0end.