a[],x;main(){for(;x=~getchar(a[x&8]+=x/11*2+1)%69?:!printf("%f",hypot(*a,a[8])););}