for(;[a,b,c]=readline().split(' '),a;print(Math.sqrt(4*a*a*c*c-d*d)/4+.5|0))d=c*c+a*a-b*b