System.in.eachLine{{a,b,c->d=c*c+a*a-b*b;println((4*a*a*c*c-d*d)**0.5/4+0.5as int)}it.split()*.toLong()}