main(){float p,q;for(;~scanf("%f%f",&p,&q);printf("%.2f\n",sqrt(p*p+q*q)));}