System.in.eachLine{r=1 t=it.split()*.toLong()+0 t.sum{r*=t.sum(-2*it)} printf'%.0f\n',r**0.5/4}